CoolFace
Modelpublic

hilmansw/resnet18-catdog-classifier

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
1likes14downloads
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. -->

Model description

This model is a fine-tuned version of microsoft/resnet-18 on an custom dataset. This model was built using the "Cats & Dogs Classification" dataset obtained from Kaggle. During the model building process, this was done using the Pytorch framework with pre-trained Resnet-18. The method used during the process of building this classification model is fine-tuning with the dataset.

Training results

EpochAccuracy
1.00.9357
2.00.9786
3.00.9000
4.00.9214
5.00.9143
6.00.9429
7.00.9714
8.00.9929
9.00.9714
10.00.9714

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —loss_function = CrossEntropyLoss
  • —optimizer = AdamW
  • —learning_rate: 0.0001
  • —batch_size: 16
  • —num_epochs: 10

Framework versions

  • —Transformers 4.33.2
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.14.5
  • —Tokenizers 0.13.3