CoolFace
Modelpublic

jhoppanne/Dogs-Breed-Image-Classification-V2

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
2likes54downloads
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-V2

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

  • Loss: 1.0115
  • Accuracy: 0.8408

Model description

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: 5e-06
  • trainbatchsize: 32
  • evalbatchsize: 32
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 20

Training results

Training LossEpochStepValidation LossAccuracy
No log1.04834.65250.7382
4.73292.09664.35580.7298
4.50333.014493.95680.7471
4.14054.019323.51600.7782
3.71765.024153.08050.7946
3.2936.028982.69070.8021
2.88987.033812.30440.8126
2.53438.038642.00910.8177
2.21889.043471.79100.8126
1.969810.048301.60150.8194
1.753211.053131.43830.8220
1.58612.057961.33550.8264
1.453313.062791.24670.8260
1.33614.067621.15750.8313
1.264115.072451.10380.8321
1.18516.077281.06060.8395
1.132917.082111.01780.8398
1.097718.086941.01150.8408
1.073219.091770.99450.8381
1.050820.096600.99300.8393

Framework versions

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