DenseNet-169

Huang et al., 2017 — Densely Connected Convolutional Networks (arXiv:1608.06993)

Lucid port of torchvision/DenseNet169_Weights.IMAGENET1K_V1, converted to Lucid-native safetensors.

Available weights

Tag acc@1 acc@5 Params GFLOPs Size Source
IMAGENET1K_V1 (default) 75.6 92.806 14.1M 3.36 54.7 MB torchvision

Usage

import lucid.models as models
from lucid.models.weights import DenseNet169Weights

# default tag
model = models.densenet_169_cls(pretrained=True)

# explicit tag (enum or string)
model = models.densenet_169_cls(weights=DenseNet169Weights.IMAGENET1K_V1)
model = models.densenet_169_cls(pretrained="IMAGENET1K_V1")

# preprocessing travels with the weights
weights = DenseNet169Weights.IMAGENET1K_V1
preprocess = weights.transforms()
logits = model(preprocess(image)[None]).logits

Conversion

Converted from torchvision/DenseNet169_Weights.IMAGENET1K_V1 via python -m tools.convert_weights densenet_169 --tag IMAGENET1K_V1. Key mapping + numerical parity verified against the source.

License

bsd-3-clause — inherited from the original weights.

Citation

@inproceedings{huang2017densely,
  title={Densely Connected Convolutional Networks},
  author={Huang, Gao and Liu, Zhuang and Van Der Maaten, Laurens and Weinberger, Kilian Q.},
  booktitle={CVPR}, year={2017}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train lucid-dl/densenet-169

Paper for lucid-dl/densenet-169

Evaluation results