License & Attribution

This repository contains weights or code derived from the ResNet18 foundational architecture developed by the ResNet Authors. This ResNet18 model is fine-tuned using popular CatsVsDogs PetImages dataset.

Dataset:

You can find the fine-tuning dataset using the link: https://huggingface.co/datasets/Man1103/PetImages.

Fine-tuning Configuration Metrics:

  • Training Dataset: 50:50 class-balanced cats and dogs images with random transformations during training.
  • Training strategy: Two stage fine-tuning strategy with:
    • Stage-1: This is where only classification FC layer is trained.
    • Stage-2: This is where last two features extraction layers and classification FC layer are trained.
  • Num epochs: 30
  • Device: CUDA (Nvidia Tesla T4 GPU)
  • Training batch size: 128
  • Testing batch size: 256
  • Learning rate:
    • For stage-1: 0.001
    • For stage-2: 0.00001
  • Accuracy Score:
    • Training: 0.1 (100.0%)
    • Testing: 0.1 (100.0%)

Please refer to preprocessing and training pipelines in the model files:

  • Preprocessing pipeline: preprocessing.py
  • Training pipeline: train.py
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
11.7M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Man1103/ResNet18-FT-PetImages-11.7M

Finetuned
(76)
this model

Dataset used to train Man1103/ResNet18-FT-PetImages-11.7M

Paper for Man1103/ResNet18-FT-PetImages-11.7M