face_discriminator
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.0170
- Accuracy: 0.9984
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
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 16
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 10
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
0.5318 | 1.0 | 246 | 0.4920 | 0.7377 |
0.3427 | 2.0 | 492 | 0.1974 | 0.9813 |
0.2394 | 3.0 | 738 | 0.0735 | 0.9945 |
0.0961 | 4.0 | 984 | 0.0972 | 0.9859 |
0.1978 | 5.0 | 1230 | 0.0317 | 0.9969 |
0.0787 | 6.0 | 1476 | 0.0324 | 0.9938 |
0.045 | 7.0 | 1722 | 0.0222 | 0.9969 |
0.1506 | 8.0 | 1968 | 0.0235 | 0.9961 |
0.0478 | 9.0 | 2214 | 0.0272 | 0.9961 |
0.1224 | 10.0 | 2460 | 0.0170 | 0.9984 |
Framework versions
- Transformers 4.28.0.dev0
- Pytorch 1.12.1
- Datasets 2.10.1
- Tokenizers 0.11.0
- Downloads last month
- 203
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
Evaluation results
- Accuracy on imagefoldervalidation set self-reported0.998