Team Ai
Modelpublic

jhoppanne/Dogs-Breed-Image-Classification-V1

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes222downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

Dogs-Breed-Image-Classification-V1

This model is a fine-tuned version of microsoft/resnet-101 on the Standford dogs dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4469
  • —Accuracy: 0.8758

Model description

Link to the fine-tuned model using resnet-50

This model was trained using dataset from Kaggle - Standford dogs dataset

Quotes from the website: The Stanford Dogs dataset contains images of 120 breeds of dogs from around the world. This dataset has been built using images and annotation from ImageNet for the task of fine-grained image categorization. It was originally collected for fine-grain image categorization, a challenging problem as certain dog breeds have near identical features or differ in colour and age.

citation: Aditya Khosla, Nityananda Jayadevaprakash, Bangpeng Yao and Li Fei-Fei. Novel dataset for Fine-Grained Image Categorization. First Workshop on Fine-Grained Visual Categorization (FGVC), IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2011. [pdf] [poster] [BibTex]

Secondary: J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li and L. Fei-Fei, ImageNet: A Large-Scale Hierarchical Image Database. IEEE Computer Vision and Pattern Recognition (CVPR), 2009. [pdf] [BibTex]

Intended uses & limitations

This model is fined tune solely for classifiying 120 species of dogs.

Training and evaluation data

75% training data, 25% testing data.

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 100

Training results

Training LossEpochStepValidation LossAccuracy
No log1.030918.76850.0091
18.72112.061818.59750.0091
18.72113.092717.40870.0091
15.42744.0123611.87120.0091
10.32525.015456.66420.0091
10.32526.018545.27540.0112
6.22687.021634.84540.0158
6.22688.024724.76580.0140
4.96829.027814.68600.0234
4.724510.030904.61650.0316
4.724511.033994.53490.0446
4.544112.037084.45550.0623
4.391213.040174.34370.0862
4.391214.043264.21820.1330
4.221115.046354.07520.2153
4.221116.049443.98030.2599
3.976217.052533.73470.3596
3.6918.055623.54930.4194
3.6919.058713.34040.4813
3.380320.061803.11220.5600
3.380321.064892.86560.6101
3.034522.067982.65440.6462
2.679323.071072.41780.6647
2.679324.074162.19670.7121
2.325125.077252.00910.7203
1.997526.080341.81890.7464
1.997527.083431.65370.7519
1.700928.086521.44130.7880
1.700929.089611.31370.7968
1.449430.092701.21500.7929
1.238931.095791.12380.8041
1.238932.098881.02150.8208
1.064633.0101970.96370.8190
0.931934.0105060.88910.8299
0.931935.0108150.85200.8330
0.829736.0111240.82120.8400
0.829737.0114330.75790.8415
0.729338.0117420.72540.8454
0.665739.0120510.70190.8457
0.665740.0123600.66690.8527
0.604741.0126690.65100.8530
0.604742.0129780.62640.8545
0.55743.0132870.62750.8506
0.512644.0135960.59470.8536
0.512645.0139050.58600.8573
0.47546.0142140.57450.8545
0.440647.0145230.55790.8600
0.440648.0148320.53860.8621
0.408649.0151410.53460.8624
0.408650.0154500.52000.8612
0.388251.0157590.52330.8612
0.364652.0160680.51480.8640
0.364653.0163770.50780.8679
0.338654.0166860.50670.8646
0.338655.0169950.49760.8673
0.320856.0173040.49340.8682
0.303957.0176130.48490.8688
0.303958.0179220.49300.8691
0.291559.0182310.48670.8655
0.278460.0185400.48320.8679
0.278461.0188490.47850.8670
0.259762.0191580.47530.8685
0.259763.0194670.47010.8712
0.248864.0197760.47660.8697
0.242665.0200850.47260.8700
0.242666.0203940.46700.8694
0.226167.0207030.46240.8722
0.225268.0210120.46310.8718
0.225269.0213210.47020.8670
0.211670.0216300.46290.8715
0.211671.0219390.46500.8685
0.203272.0222480.46700.8673
0.203573.0225570.45650.8670
0.203574.0228660.45500.8697
0.1975.0231750.45440.8706
0.1976.0234840.44830.8670
0.183377.0237930.46500.8694
0.18478.0241020.46040.8709
0.18479.0244110.44840.8697
0.172880.0247200.44690.8758
0.168881.0250290.45360.8676
0.168882.0253380.44500.8709
0.167483.0256470.45300.8691
0.167484.0259560.45320.8725
0.163285.0262650.44950.8718
0.160586.0265740.44400.8673
0.160587.0268830.45040.8731
0.158688.0271920.45510.8667
0.155889.0275010.44980.8670
0.155890.0278100.45160.8718
0.158791.0281190.44500.8725
0.158792.0284280.44350.8706
0.150593.0287370.44590.8722
0.149294.0290460.45780.8673
0.149295.0293550.44990.8725
0.145996.0296640.44940.8703
0.145997.0299730.45330.8697
0.148198.0302820.45240.8652
0.147799.0305910.44960.8715
0.1477100.0309000.45230.8661

Framework versions

  • —Transformers 4.37.2
  • —Pytorch 2.3.0
  • —Datasets 2.15.0
  • —Tokenizers 0.15.1