Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
resnet
Generated from Trainer
Eval Results (legacy)
Instructions to use jerryteps/resnet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jerryteps/resnet-50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jerryteps/resnet-50") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("jerryteps/resnet-50") model = AutoModelForImageClassification.from_pretrained("jerryteps/resnet-50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ model-index:
|
|
| 20 |
metrics:
|
| 21 |
- name: Accuracy
|
| 22 |
type: accuracy
|
| 23 |
-
value: 0.
|
| 24 |
---
|
| 25 |
|
| 26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -30,8 +30,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 30 |
|
| 31 |
This model was trained from scratch on the imagefolder dataset.
|
| 32 |
It achieves the following results on the evaluation set:
|
| 33 |
-
- Loss: 1.
|
| 34 |
-
- Accuracy: 0.
|
| 35 |
|
| 36 |
## Model description
|
| 37 |
|
|
@@ -59,15 +59,17 @@ The following hyperparameters were used during training:
|
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
- lr_scheduler_warmup_ratio: 0.1
|
| 62 |
-
- num_epochs:
|
| 63 |
|
| 64 |
### Training results
|
| 65 |
|
| 66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 68 |
-
| 1.
|
| 69 |
-
| 1.
|
| 70 |
-
| 1.
|
|
|
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
|
|
|
| 20 |
metrics:
|
| 21 |
- name: Accuracy
|
| 22 |
type: accuracy
|
| 23 |
+
value: 0.4446921147952076
|
| 24 |
---
|
| 25 |
|
| 26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 30 |
|
| 31 |
This model was trained from scratch on the imagefolder dataset.
|
| 32 |
It achieves the following results on the evaluation set:
|
| 33 |
+
- Loss: 1.4667
|
| 34 |
+
- Accuracy: 0.4447
|
| 35 |
|
| 36 |
## Model description
|
| 37 |
|
|
|
|
| 59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 60 |
- lr_scheduler_type: linear
|
| 61 |
- lr_scheduler_warmup_ratio: 0.1
|
| 62 |
+
- num_epochs: 5
|
| 63 |
|
| 64 |
### Training results
|
| 65 |
|
| 66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 68 |
+
| 1.7252 | 1.0 | 252 | 1.7069 | 0.2753 |
|
| 69 |
+
| 1.6386 | 2.0 | 505 | 1.5799 | 0.3912 |
|
| 70 |
+
| 1.617 | 3.0 | 757 | 1.5154 | 0.4274 |
|
| 71 |
+
| 1.5795 | 4.0 | 1010 | 1.4836 | 0.4377 |
|
| 72 |
+
| 1.5645 | 4.99 | 1260 | 1.4667 | 0.4447 |
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|