CoolFace
Modelpublic

SiddharthaM/resnet-18-feature-extraction

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

resnet-18-feature-extraction

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

  • Loss: 0.1485
  • Accuracy: 0.95
  • Precision: 0.9653
  • Recall: 0.9789
  • F1: 0.9720
  • Roc Auc: 0.8505

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:

  • learning_rate: 2e-05
  • trainbatchsize: 64
  • evalbatchsize: 64
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 256
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_ratio: 0.1
  • num_epochs: 50

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1Roc Auc
No log0.820.62320.750.96360.74650.84130.7621
No log1.840.69710.48751.00.42250.59410.7113
No log2.860.79150.28751.00.19720.32940.5986
No log3.880.84800.28751.00.19720.32940.5986
0.86514.8100.90940.25621.00.16200.27880.5810
0.86515.8120.74700.56251.00.50700.67290.7535
0.86516.8140.59150.851.00.83100.90770.9155
0.86517.8160.48170.88750.98440.88730.93330.8881
0.86518.8180.34550.91870.97780.92960.95310.8815
0.53499.8200.29660.91870.97080.93660.95340.8572
0.534910.8220.23470.950.96530.97890.97200.8505
0.534911.8240.24680.93130.96450.95770.96110.8400
0.534912.8260.23100.95630.97200.97890.97540.8783
0.534913.8280.20830.93130.95800.96480.96140.8157
0.359314.8300.18400.93750.95210.97890.96530.7950
0.359315.8320.19470.93750.96480.96480.96480.8435
0.359316.8340.18370.93130.95170.97180.96170.7915
0.359317.8360.18190.94370.95240.98590.96890.7985
0.359318.8380.19240.94370.96500.97180.96840.8470
0.273719.8400.19900.950.96530.97890.97200.8505
0.273720.8420.17590.950.97180.97180.97180.8748
0.273721.8440.18040.93130.95170.97180.96170.7915
0.273722.8460.16660.93130.95170.97180.96170.7915
0.273723.8480.15340.94370.95240.98590.96890.7985
0.227824.8500.16120.93750.95210.97890.96530.7950
0.227825.8520.15350.94370.95860.97890.96860.8228
0.227826.8540.15680.94370.97160.96480.96820.8713
0.227827.8560.21070.93750.97140.95770.96450.8678
0.227828.8580.15920.93130.95170.97180.96170.7915
0.205729.8600.15570.93750.96480.96480.96480.8435
0.205730.8620.17140.94370.96500.97180.96840.8470
0.205731.8640.15710.950.96530.97890.97200.8505
0.205732.8660.15740.93750.95830.97180.96500.8192
0.205733.8680.14230.95630.97200.97890.97540.8783
0.234.8700.16770.94370.96500.97180.96840.8470
0.235.8720.15600.93750.95830.97180.96500.8192
0.236.8740.15940.93750.95210.97890.96530.7950
0.237.8760.15120.94370.95860.97890.96860.8228
0.238.8780.13960.95630.96550.98590.97560.8541
0.183839.8800.15090.93750.95830.97180.96500.8192
0.183840.8820.15290.950.97180.97180.97180.8748
0.183841.8840.15060.950.96530.97890.97200.8505
0.183842.8860.15490.950.96530.97890.97200.8505
0.183843.8880.13310.95630.96550.98590.97560.8541
0.187244.8900.14090.94370.95240.98590.96890.7985
0.187245.8920.16390.93750.95830.97180.96500.8192
0.187246.8940.13910.950.95890.98590.97220.8263
0.187247.8960.14360.95630.96550.98590.97560.8541
0.187248.8980.14420.94370.95860.97890.96860.8228
0.18549.81000.14850.950.96530.97890.97200.8505

Framework versions

  • Transformers 4.24.0.dev0
  • Pytorch 1.11.0+cu102
  • Datasets 2.6.1
  • Tokenizers 0.13.1