dima806 commited on
Commit
b50249d
·
verified ·
1 Parent(s): c48ef5d

Upload folder using huggingface_hub

Browse files
checkpoint-141/config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Blazer",
13
+ "1": "Celana_Panjang",
14
+ "2": "Celana_Pendek",
15
+ "3": "Gaun",
16
+ "4": "Hoodie",
17
+ "5": "Jaket",
18
+ "6": "Jaket_Denim",
19
+ "7": "Jaket_Olahraga",
20
+ "8": "Jeans",
21
+ "9": "Kaos",
22
+ "10": "Kemeja",
23
+ "11": "Mantel",
24
+ "12": "Polo",
25
+ "13": "Rok",
26
+ "14": "Sweter"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Blazer": 0,
33
+ "Celana_Panjang": 1,
34
+ "Celana_Pendek": 2,
35
+ "Gaun": 3,
36
+ "Hoodie": 4,
37
+ "Jaket": 5,
38
+ "Jaket_Denim": 6,
39
+ "Jaket_Olahraga": 7,
40
+ "Jeans": 8,
41
+ "Kaos": 9,
42
+ "Kemeja": 10,
43
+ "Mantel": 11,
44
+ "Polo": 12,
45
+ "Rok": 13,
46
+ "Sweter": 14
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "model_type": "vit",
50
+ "num_attention_heads": 12,
51
+ "num_channels": 3,
52
+ "num_hidden_layers": 12,
53
+ "patch_size": 16,
54
+ "problem_type": "single_label_classification",
55
+ "qkv_bias": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.48.3"
58
+ }
checkpoint-141/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054400fdfece91390632c9ebde9ad44947fa8682254f29784525e33c868d0fc6
3
+ size 343263964
checkpoint-141/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89d341c0dfece1d5df61c407522d05a1b0daba2c9798aa0d6ae820c5e1e332a5
3
+ size 686648762
checkpoint-141/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
checkpoint-141/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceb90df3ea8cef16328c39fa75d7f3bf43366a0675c56f951b7e21ff3a8717df
3
+ size 14244
checkpoint-141/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b21759f4a5a2362267c82dd5c799adb6fb491ec501b2e7cf329d797122216433
3
+ size 1064
checkpoint-141/trainer_state.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.6991894245147705,
3
+ "best_model_checkpoint": "clothes_image_detection/checkpoint-141",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 141,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.08933333333333333,
14
+ "eval_loss": 2.6991894245147705,
15
+ "eval_model_preparation_time": 0.0037,
16
+ "eval_runtime": 60.2612,
17
+ "eval_samples_per_second": 49.783,
18
+ "eval_steps_per_second": 6.223,
19
+ "step": 141
20
+ }
21
+ ],
22
+ "logging_steps": 500,
23
+ "max_steps": 141,
24
+ "num_input_tokens_seen": 0,
25
+ "num_train_epochs": 1,
26
+ "save_steps": 500,
27
+ "stateful_callbacks": {
28
+ "TrainerControl": {
29
+ "args": {
30
+ "should_epoch_stop": false,
31
+ "should_evaluate": false,
32
+ "should_log": false,
33
+ "should_save": true,
34
+ "should_training_stop": true
35
+ },
36
+ "attributes": {}
37
+ }
38
+ },
39
+ "total_flos": 3.48754583632896e+17,
40
+ "train_batch_size": 32,
41
+ "trial_name": null,
42
+ "trial_params": null
43
+ }
checkpoint-141/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a50716a5f1549811f8e769d974bd756fae94eff983c2a6fdcc1629948d4af4b5
3
+ size 5304
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Blazer",
13
+ "1": "Celana_Panjang",
14
+ "2": "Celana_Pendek",
15
+ "3": "Gaun",
16
+ "4": "Hoodie",
17
+ "5": "Jaket",
18
+ "6": "Jaket_Denim",
19
+ "7": "Jaket_Olahraga",
20
+ "8": "Jeans",
21
+ "9": "Kaos",
22
+ "10": "Kemeja",
23
+ "11": "Mantel",
24
+ "12": "Polo",
25
+ "13": "Rok",
26
+ "14": "Sweter"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Blazer": 0,
33
+ "Celana_Panjang": 1,
34
+ "Celana_Pendek": 2,
35
+ "Gaun": 3,
36
+ "Hoodie": 4,
37
+ "Jaket": 5,
38
+ "Jaket_Denim": 6,
39
+ "Jaket_Olahraga": 7,
40
+ "Jeans": 8,
41
+ "Kaos": 9,
42
+ "Kemeja": 10,
43
+ "Mantel": 11,
44
+ "Polo": 12,
45
+ "Rok": 13,
46
+ "Sweter": 14
47
+ },
48
+ "layer_norm_eps": 1e-12,
49
+ "model_type": "vit",
50
+ "num_attention_heads": 12,
51
+ "num_channels": 3,
52
+ "num_hidden_layers": 12,
53
+ "patch_size": 16,
54
+ "problem_type": "single_label_classification",
55
+ "qkv_bias": true,
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.48.3"
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:054400fdfece91390632c9ebde9ad44947fa8682254f29784525e33c868d0fc6
3
+ size 343263964
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a50716a5f1549811f8e769d974bd756fae94eff983c2a6fdcc1629948d4af4b5
3
+ size 5304