Upload . with huggingface_hub
#1
by
tjpel
- opened
- config.json +52 -0
- optimizer.pt +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +49 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "crosswalk",
|
13 |
+
"1": "crosswalk%20speedlimit",
|
14 |
+
"10": "stop%20trafficlight",
|
15 |
+
"11": "trafficlight",
|
16 |
+
"2": "crosswalk%20speedlimit%20trafficlight",
|
17 |
+
"3": "crosswalk%20stop",
|
18 |
+
"4": "crosswalk%20stop%20trafficlight",
|
19 |
+
"5": "crosswalk%20trafficlight",
|
20 |
+
"6": "speedlimit",
|
21 |
+
"7": "speedlimit%20stop",
|
22 |
+
"8": "speedlimit%20trafficlight",
|
23 |
+
"9": "stop"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"crosswalk": "0",
|
30 |
+
"crosswalk%20speedlimit": "1",
|
31 |
+
"crosswalk%20speedlimit%20trafficlight": "2",
|
32 |
+
"crosswalk%20stop": "3",
|
33 |
+
"crosswalk%20stop%20trafficlight": "4",
|
34 |
+
"crosswalk%20trafficlight": "5",
|
35 |
+
"speedlimit": "6",
|
36 |
+
"speedlimit%20stop": "7",
|
37 |
+
"speedlimit%20trafficlight": "8",
|
38 |
+
"stop": "9",
|
39 |
+
"stop%20trafficlight": "10",
|
40 |
+
"trafficlight": "11"
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-12,
|
43 |
+
"model_type": "vit",
|
44 |
+
"num_attention_heads": 12,
|
45 |
+
"num_channels": 3,
|
46 |
+
"num_hidden_layers": 12,
|
47 |
+
"patch_size": 16,
|
48 |
+
"problem_type": "single_label_classification",
|
49 |
+
"qkv_bias": true,
|
50 |
+
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.27.2"
|
52 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a95385b925cf456a550c041f98452d06ddd840142594d4dd9ecb3fb40ce71db8
|
3 |
+
size 686574533
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:866e7a9f0619c10a7266a0d7f181a6f494d9bcdc8b8d167b6810ff04fc7dfb4d
|
3 |
+
size 343296685
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82977179d430821bc5ad62c4dad438b40ff2cfe3c37564615b0628f6185da60a
|
3 |
+
size 13553
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9843118d947936e2fa0dcdba380cf69e586574c7b05ca553039d86e2d8764c1f
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.46042799949646,
|
3 |
+
"best_model_checkpoint": "./vit-base-beans/checkpoint-40",
|
4 |
+
"epoch": 2.3529411764705883,
|
5 |
+
"global_step": 40,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.59,
|
12 |
+
"learning_rate": 0.00017058823529411766,
|
13 |
+
"loss": 1.9977,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.18,
|
18 |
+
"learning_rate": 0.0001411764705882353,
|
19 |
+
"loss": 1.4453,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.76,
|
24 |
+
"learning_rate": 0.00011176470588235294,
|
25 |
+
"loss": 1.1321,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.35,
|
30 |
+
"learning_rate": 8.23529411764706e-05,
|
31 |
+
"loss": 0.8693,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.35,
|
36 |
+
"eval_accuracy": 0.5,
|
37 |
+
"eval_loss": 1.46042799949646,
|
38 |
+
"eval_runtime": 267.9967,
|
39 |
+
"eval_samples_per_second": 0.567,
|
40 |
+
"eval_steps_per_second": 0.071,
|
41 |
+
"step": 40
|
42 |
+
}
|
43 |
+
],
|
44 |
+
"max_steps": 68,
|
45 |
+
"num_train_epochs": 4,
|
46 |
+
"total_flos": 4.835933542534349e+16,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3876cf49c93d3a583a3b2bcad675de8a40591289c60497810ff3ac4f56a8ce3a
|
3 |
+
size 3515
|