Image Classification
Transformers
TensorBoard
Safetensors
resnet
Generated from Trainer
Eval Results (legacy)
Instructions to use embunna/resnet-18 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use embunna/resnet-18 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="embunna/resnet-18") 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("embunna/resnet-18") model = AutoModelForImageClassification.from_pretrained("embunna/resnet-18") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +8 -8
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -22,7 +22,7 @@ model-index:
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
-
value: 0.
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
-
- Loss:
|
| 36 |
-
- Accuracy: 0.
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
@@ -65,11 +65,11 @@ The following hyperparameters were used during training:
|
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
-
| Training Loss
|
| 69 |
-
|:------------------------------------:|:------:|:----:|:------------------------------------:|:--------:|
|
| 70 |
-
| No log
|
| 71 |
-
|
|
| 72 |
-
|
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
|
|
|
| 22 |
metrics:
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
+
value: 0.2857142857142857
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 32 |
|
| 33 |
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on the imagefolder dataset.
|
| 34 |
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 11425938732811038938338101821440.0000
|
| 36 |
+
- Accuracy: 0.2857
|
| 37 |
|
| 38 |
## Model description
|
| 39 |
|
|
|
|
| 65 |
|
| 66 |
### Training results
|
| 67 |
|
| 68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
+
|:-------------------------------------:|:------:|:----:|:-------------------------------------:|:--------:|
|
| 70 |
+
| No log | 0.9091 | 5 | 11425938732811038938338101821440.0000 | 0.2857 |
|
| 71 |
+
| 10876880651531499783855888400384.0000 | 2.0 | 11 | 11425938732811038938338101821440.0000 | 0.2857 |
|
| 72 |
+
| 10876880651531499783855888400384.0000 | 2.7273 | 15 | 11425938732811038938338101821440.0000 | 0.2857 |
|
| 73 |
|
| 74 |
|
| 75 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 44766388
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db3b90d629a2f1c91871139cb963554956161f5281accc8990448df997f7cac3
|
| 3 |
size 44766388
|