NiharGupte
commited on
Commit
•
075eaa1
1
Parent(s):
3ddf28d
Model save
Browse files- README.md +10 -12
- 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-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss:
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -56,8 +56,6 @@ The following hyperparameters were used during training:
|
|
56 |
- train_batch_size: 32
|
57 |
- eval_batch_size: 32
|
58 |
- seed: 42
|
59 |
-
- gradient_accumulation_steps: 4
|
60 |
-
- total_train_batch_size: 128
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
- lr_scheduler_warmup_ratio: 0.1
|
@@ -65,13 +63,13 @@ The following hyperparameters were used during training:
|
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
-
| Training Loss
|
69 |
-
|
70 |
-
|
|
71 |
-
|
|
72 |
-
|
|
73 |
-
|
|
74 |
-
|
|
75 |
|
76 |
|
77 |
### Framework versions
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9874213836477987
|
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-50](https://huggingface.co/microsoft/resnet-50) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0354
|
36 |
+
- Accuracy: 0.9874
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
56 |
- train_batch_size: 32
|
57 |
- eval_batch_size: 32
|
58 |
- seed: 42
|
|
|
|
|
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
|
|
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| 0.5044 | 1.0 | 47 | 0.2463 | 0.8978 |
|
69 |
+
| 0.2076 | 2.0 | 94 | 0.1007 | 0.9717 |
|
70 |
+
| 0.2115 | 3.0 | 141 | 0.0480 | 0.9874 |
|
71 |
+
| 0.1361 | 4.0 | 188 | 0.0387 | 0.9874 |
|
72 |
+
| 0.1359 | 5.0 | 235 | 0.0354 | 0.9874 |
|
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 94302952
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81e2898e5206ba04c692f4ea04f76ee05aaf95e6fc6dd41d05bc53a518eedde2
|
3 |
size 94302952
|