CoolFace
Modelpublic

aalonso-developer/vit-base-patch16-224-in21k-clothing-classifier

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
9likes18downloads
Model Card

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

aalonso-developer/vit-base-patch16-224-in21k-clothing-classifier

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on an unknown dataset. It achieves the following results on the evaluation set:

  • —Train Loss: 0.1749
  • —Train Accuracy: 0.9686
  • —Train Top-3-accuracy: 0.9922
  • —Validation Loss: 0.7294
  • —Validation Accuracy: 0.7906
  • —Validation Top-3-accuracy: 0.9437
  • —Epoch: 4

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —optimizer: {'inneroptimizer': {'classname': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learningrate': {'classname': 'PolynomialDecay', 'config': {'initiallearningrate': 3e-05, 'decaysteps': 3665, 'endlearningrate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta1': 0.9, 'beta2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weightdecayrate': 0.01}}, 'dynamic': True, 'initialscale': 32768.0, 'dynamicgrowthsteps': 2000}
  • —trainingprecision: mixedfloat16

Training results

Train LossTrain AccuracyTrain Top-3-accuracyValidation LossValidation AccuracyValidation Top-3-accuracyEpoch
1.36720.67200.88950.88860.76130.94150
0.67450.81970.96150.74920.77900.94271
0.41350.89420.98140.71190.78480.94752
0.25660.94490.98920.72120.78600.94513
0.17490.96860.99220.72940.79060.94374

Framework versions

  • —Transformers 4.29.1
  • —TensorFlow 2.11.0
  • —Datasets 2.12.0
  • —Tokenizers 0.13.3