Model save
Browse files- README.md +105 -0
- config.json +65 -0
- model.safetensors +3 -0
- preprocessor_config.json +37 -0
- runs/Apr22_19-06-27_127da31333b9/events.out.tfevents.1713812804.127da31333b9.34.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/resnet-18
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: Action_agent_small_34_class
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.09523809523809523
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# Action_agent_small_34_class
|
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: nan
|
36 |
+
- Accuracy: 0.0952
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 1e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 8
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 10
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 0.0 | 0.32 | 100 | nan | 0.0952 |
|
68 |
+
| 0.0 | 0.64 | 200 | nan | 0.0952 |
|
69 |
+
| 0.0 | 0.96 | 300 | nan | 0.0952 |
|
70 |
+
| 0.0 | 1.27 | 400 | nan | 0.0952 |
|
71 |
+
| 0.0 | 1.59 | 500 | nan | 0.0952 |
|
72 |
+
| 0.0 | 1.91 | 600 | nan | 0.0952 |
|
73 |
+
| 0.0 | 2.23 | 700 | nan | 0.0952 |
|
74 |
+
| 0.0 | 2.55 | 800 | nan | 0.0952 |
|
75 |
+
| 0.0 | 2.87 | 900 | nan | 0.0952 |
|
76 |
+
| 0.0 | 3.18 | 1000 | nan | 0.0952 |
|
77 |
+
| 0.0 | 3.5 | 1100 | nan | 0.0952 |
|
78 |
+
| 0.0 | 3.82 | 1200 | nan | 0.0952 |
|
79 |
+
| 0.0 | 4.14 | 1300 | nan | 0.0952 |
|
80 |
+
| 0.0 | 4.46 | 1400 | nan | 0.0952 |
|
81 |
+
| 0.0 | 4.78 | 1500 | nan | 0.0952 |
|
82 |
+
| 0.0 | 5.1 | 1600 | nan | 0.0952 |
|
83 |
+
| 0.0 | 5.41 | 1700 | nan | 0.0952 |
|
84 |
+
| 0.0 | 5.73 | 1800 | nan | 0.0952 |
|
85 |
+
| 0.0 | 6.05 | 1900 | nan | 0.0952 |
|
86 |
+
| 0.0 | 6.37 | 2000 | nan | 0.0952 |
|
87 |
+
| 0.0 | 6.69 | 2100 | nan | 0.0952 |
|
88 |
+
| 0.0 | 7.01 | 2200 | nan | 0.0952 |
|
89 |
+
| 0.0 | 7.32 | 2300 | nan | 0.0952 |
|
90 |
+
| 0.0 | 7.64 | 2400 | nan | 0.0952 |
|
91 |
+
| 0.0 | 7.96 | 2500 | nan | 0.0952 |
|
92 |
+
| 0.0 | 8.28 | 2600 | nan | 0.0952 |
|
93 |
+
| 0.0 | 8.6 | 2700 | nan | 0.0952 |
|
94 |
+
| 0.0 | 8.92 | 2800 | nan | 0.0952 |
|
95 |
+
| 0.0 | 9.24 | 2900 | nan | 0.0952 |
|
96 |
+
| 0.0 | 9.55 | 3000 | nan | 0.0952 |
|
97 |
+
| 0.0 | 9.87 | 3100 | nan | 0.0952 |
|
98 |
+
|
99 |
+
|
100 |
+
### Framework versions
|
101 |
+
|
102 |
+
- Transformers 4.39.3
|
103 |
+
- Pytorch 2.1.2
|
104 |
+
- Datasets 2.18.0
|
105 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"downsample_in_bottleneck": false,
|
13 |
+
"downsample_in_first_stage": false,
|
14 |
+
"embedding_size": 64,
|
15 |
+
"hidden_act": "relu",
|
16 |
+
"hidden_sizes": [
|
17 |
+
64,
|
18 |
+
128,
|
19 |
+
256,
|
20 |
+
512
|
21 |
+
],
|
22 |
+
"id2label": {
|
23 |
+
"0": "\u0995\u09a5\u09be_\u09ac\u09b2\u09be",
|
24 |
+
"1": "\u0995\u09ae\u09cd\u09aa\u09bf\u0989\u099f\u09be\u09b0_\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0_\u0995\u09b0\u09be",
|
25 |
+
"2": "\u0996\u09be\u0993\u09df\u09be",
|
26 |
+
"3": "\u0996\u09c7\u09b2\u09be_\u0995\u09b0\u09be",
|
27 |
+
"4": "\u0998\u09c1\u09ae\u09be\u09a8\u09cb",
|
28 |
+
"5": "\u09aa\u09be\u09a8_\u0995\u09b0\u09be",
|
29 |
+
"6": "\u09aa\u09dc\u09be",
|
30 |
+
"7": "\u09b0\u09be\u09a8\u09cd\u09a8\u09be_\u0995\u09b0\u09be",
|
31 |
+
"8": "\u09b2\u09c7\u0996\u09be",
|
32 |
+
"9": "\u09b9\u09be\u0981\u099f\u09be"
|
33 |
+
},
|
34 |
+
"label2id": {
|
35 |
+
"\u0995\u09a5\u09be_\u09ac\u09b2\u09be": 0,
|
36 |
+
"\u0995\u09ae\u09cd\u09aa\u09bf\u0989\u099f\u09be\u09b0_\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0_\u0995\u09b0\u09be": 1,
|
37 |
+
"\u0996\u09be\u0993\u09df\u09be": 2,
|
38 |
+
"\u0996\u09c7\u09b2\u09be_\u0995\u09b0\u09be": 3,
|
39 |
+
"\u0998\u09c1\u09ae\u09be\u09a8\u09cb": 4,
|
40 |
+
"\u09aa\u09be\u09a8_\u0995\u09b0\u09be": 5,
|
41 |
+
"\u09aa\u09dc\u09be": 6,
|
42 |
+
"\u09b0\u09be\u09a8\u09cd\u09a8\u09be_\u0995\u09b0\u09be": 7,
|
43 |
+
"\u09b2\u09c7\u0996\u09be": 8,
|
44 |
+
"\u09b9\u09be\u0981\u099f\u09be": 9
|
45 |
+
},
|
46 |
+
"layer_type": "basic",
|
47 |
+
"model_type": "resnet",
|
48 |
+
"num_channels": 3,
|
49 |
+
"out_features": [
|
50 |
+
"stage4"
|
51 |
+
],
|
52 |
+
"out_indices": [
|
53 |
+
4
|
54 |
+
],
|
55 |
+
"problem_type": "single_label_classification",
|
56 |
+
"stage_names": [
|
57 |
+
"stem",
|
58 |
+
"stage1",
|
59 |
+
"stage2",
|
60 |
+
"stage3",
|
61 |
+
"stage4"
|
62 |
+
],
|
63 |
+
"torch_dtype": "float32",
|
64 |
+
"transformers_version": "4.39.3"
|
65 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4189c8b01b72f121f674ecf0d3612fc90c219e139711e6c45c738d05742e57e
|
3 |
+
size 44780752
|
preprocessor_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"crop_pct",
|
7 |
+
"resample",
|
8 |
+
"do_rescale",
|
9 |
+
"rescale_factor",
|
10 |
+
"do_normalize",
|
11 |
+
"image_mean",
|
12 |
+
"image_std",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
+
"crop_pct": 0.875,
|
18 |
+
"do_normalize": true,
|
19 |
+
"do_rescale": true,
|
20 |
+
"do_resize": true,
|
21 |
+
"image_mean": [
|
22 |
+
0.485,
|
23 |
+
0.456,
|
24 |
+
0.406
|
25 |
+
],
|
26 |
+
"image_processor_type": "ConvNextImageProcessor",
|
27 |
+
"image_std": [
|
28 |
+
0.229,
|
29 |
+
0.224,
|
30 |
+
0.225
|
31 |
+
],
|
32 |
+
"resample": 3,
|
33 |
+
"rescale_factor": 0.00392156862745098,
|
34 |
+
"size": {
|
35 |
+
"shortest_edge": 224
|
36 |
+
}
|
37 |
+
}
|
runs/Apr22_19-06-27_127da31333b9/events.out.tfevents.1713812804.127da31333b9.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dca408351938ac61866e6ee6e31ed1bda69aebcb93a19e6529f903317437126a
|
3 |
+
size 60163
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f162f7af5a25a461816f7a9ff28622a8d9b8beeca42fbdb4bd10db846984898
|
3 |
+
size 4920
|