Team Ai
Modelpublic

JamesJayamuni/flower_image_classification_ResNet50_v1.0

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Model Card

flowerimageclassificationResNet50v1.0

This model is a fine-tuned version of Keras ResNet50 on the tfflower dataset (https://www.tensorflow.org/datasets/catalog/tfflowers). It achieves the following results on the evaluation set:

  • —Loss: 0.7941
  • —Accuracy: 0.8571

Model description

A slightly customized image classification model for classify 5 labels of flowers ('daisy', 'dandelion', 'roses', 'sunflowers', 'tulips')

Intended uses & limitations

This model is fined tune solely for flower image classification.

Training and evaluation data

Training and testing data is splitted into 80:20 portion. Total data : 3670 files belonging to 5 classes Training data : 2753 files (80%) Validation data : 917 files (20%)

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-03
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 1
  • —optimizer: Adam
  • —loss: categorical_crossentropy
  • —num_epochs: 5

Fine-Tuning Results

EpochStepTraining LossTraining AccuracyValidation LossValidation Accuracy
1.034513.91430.64780.53100.8288
2.06900.26390.91610.60460.8419
3.010350.13690.95390.54830.8561
4.013800.08630.97030.56990.8659
5.017250.06860.98370.79410.8571

Framework versions

  • —Transformers 4.41.2
  • —Pytorch 2.3.0
  • —opencv-contrib-python-4.10.0.82