CoolFace
Modelpublic

Haaaaaaaaaax/resnet-50-finetuned-kidney_v4

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes5downloads
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-50-finetuned-kidney_v4

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

  • —Loss: 0.2780
  • —Accuracy: 0.8999
  • —F1: 0.8982

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: 5e-05
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 16
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 0.1
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracyF1
5.13241.07341.22240.62530.6188
3.45052.014680.53190.79290.7848
2.78873.022020.43370.82290.8150
2.92354.029360.35070.87470.8715
2.31715.036700.31910.89170.8895
2.07186.044040.29440.89580.8945
2.10777.051380.29000.89030.8881
2.14438.058720.27690.89780.8964
2.11619.066060.27800.89990.8982
2.335510.073400.28090.89650.8950

Framework versions

  • —Transformers 5.0.0
  • —Pytorch 2.10.0+cu128
  • —Datasets 4.0.0
  • —Tokenizers 0.22.2