Practical overview
When it fits
Use it when your image-classification workflow uses Caffe and you need a pretrained DenseNet model or want to compare the supplied variants under the repository’s stated evaluation setup.
Who it is for
- Developers integrating pretrained DenseNet models into an existing Caffe image-classification workflow.
- Practitioners comparing the listed DenseNet variants using the repository’s stated ImageNet results.
Documented uses
- Select a DenseNet variant using its listed top-1 and top-5 ImageNet accuracy.
- Obtain pretrained Caffe-format weights as a starting point for image classification.
- Review model architecture diagrams and account for the documented preprocessing adjustments.
Requirements & limits
- The repository lists four variants: DenseNet-121, -169, -201 and -161.
- Weights range from 30.8 MB for DenseNet-121 to 110 MB for DenseNet-161.
- Reported accuracy uses a single 224 × 224 center crop from an image sized 256 × N.
- The conversion changes preprocessing: it subtracts BGR means [103.94, 116.78, 123.68], uses scale 0.017, and sets ceil_mode: false in the first pooling layers.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Select a pretrained DenseNet-Caffe ImageNet model
Choose one of the listed pretrained DenseNet models and retrieve its Caffe model file.
Before you start
- Access to one of the listed model download links.
Steps
Choose DenseNet 121, 169, 201, or 161 from the model table.
Open that model’s linked caffemodel download.
Expected outcome
A selected pretrained DenseNet Caffe model file is available for subsequent use.
Guide limitations
- The README lists model files and reports accuracy using a single center crop of size 224×224 from images of size 256×N; it does not document how to execute inference.
- Preprocessing notes specify subtracting BGR means [103.94, 116.78, 123.68] and using scale 0.017.
- The first pooling layers use ceil_mode: false for compatibility.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- shicai/DenseNet-Caffe · Official homepage title · retained in its source language

