dima806 commited on
Commit
7aa9baf
·
verified ·
1 Parent(s): 7f9ca9b

Upload folder using huggingface_hub

Browse files
checkpoint-282/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": "Coat",
14
+ "2": "Denim Jacket",
15
+ "3": "Dresses",
16
+ "4": "Hoodie",
17
+ "5": "Jacket",
18
+ "6": "Jeans",
19
+ "7": "Long Pants",
20
+ "8": "Polo",
21
+ "9": "Shirt",
22
+ "10": "Shorts",
23
+ "11": "Skirt",
24
+ "12": "Sports Jacket",
25
+ "13": "Sweater",
26
+ "14": "T-shirt"
27
+ },
28
+ "image_size": 224,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "Blazer": 0,
33
+ "Coat": 1,
34
+ "Denim Jacket": 2,
35
+ "Dresses": 3,
36
+ "Hoodie": 4,
37
+ "Jacket": 5,
38
+ "Jeans": 6,
39
+ "Long Pants": 7,
40
+ "Polo": 8,
41
+ "Shirt": 9,
42
+ "Shorts": 10,
43
+ "Skirt": 11,
44
+ "Sports Jacket": 12,
45
+ "Sweater": 13,
46
+ "T-shirt": 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-282/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a715c47e19dfc1104b65608e115fd6731f299ac95acadbfd47876173afa7e1
3
+ size 343263964
checkpoint-282/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97ce9afb65846121e443170d9541a61cea5bdca4620e5e8f36fa064599ee46e8
3
+ size 686648762
checkpoint-282/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-282/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a64441bbe7a174fa06c45336499d7ade93787f92c0cee568bfc9403f758614b
3
+ size 14244
checkpoint-282/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fc14e6df1e6d4b4b3e6fbb84b26af77175138548d7e883b67287af593da2c54
3
+ size 1064
checkpoint-282/trainer_state.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.659730911254883,
3
+ "best_model_checkpoint": "clothes_image_detection/checkpoint-282",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 282,
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.10133333333333333,
14
+ "eval_loss": 2.679567813873291,
15
+ "eval_model_preparation_time": 0.0035,
16
+ "eval_runtime": 59.9637,
17
+ "eval_samples_per_second": 50.03,
18
+ "eval_steps_per_second": 6.254,
19
+ "step": 141
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.16333333333333333,
24
+ "eval_loss": 2.659730911254883,
25
+ "eval_model_preparation_time": 0.0035,
26
+ "eval_runtime": 60.7386,
27
+ "eval_samples_per_second": 49.392,
28
+ "eval_steps_per_second": 6.174,
29
+ "step": 282
30
+ }
31
+ ],
32
+ "logging_steps": 500,
33
+ "max_steps": 282,
34
+ "num_input_tokens_seen": 0,
35
+ "num_train_epochs": 2,
36
+ "save_steps": 500,
37
+ "stateful_callbacks": {
38
+ "TrainerControl": {
39
+ "args": {
40
+ "should_epoch_stop": false,
41
+ "should_evaluate": false,
42
+ "should_log": false,
43
+ "should_save": true,
44
+ "should_training_stop": true
45
+ },
46
+ "attributes": {}
47
+ }
48
+ },
49
+ "total_flos": 6.97509167265792e+17,
50
+ "train_batch_size": 32,
51
+ "trial_name": null,
52
+ "trial_params": null
53
+ }
checkpoint-282/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49f1f0d35245f24ce45112eca68b5e8a46b3e609f94361d9be86699750887ef5
3
+ size 5304
config.json CHANGED
@@ -10,40 +10,40 @@
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",
 
10
  "hidden_size": 768,
11
  "id2label": {
12
  "0": "Blazer",
13
+ "1": "Coat",
14
+ "2": "Denim Jacket",
15
+ "3": "Dresses",
16
  "4": "Hoodie",
17
+ "5": "Jacket",
18
+ "6": "Jeans",
19
+ "7": "Long Pants",
20
+ "8": "Polo",
21
+ "9": "Shirt",
22
+ "10": "Shorts",
23
+ "11": "Skirt",
24
+ "12": "Sports Jacket",
25
+ "13": "Sweater",
26
+ "14": "T-shirt"
27
  },
28
  "image_size": 224,
29
  "initializer_range": 0.02,
30
  "intermediate_size": 3072,
31
  "label2id": {
32
  "Blazer": 0,
33
+ "Coat": 1,
34
+ "Denim Jacket": 2,
35
+ "Dresses": 3,
36
  "Hoodie": 4,
37
+ "Jacket": 5,
38
+ "Jeans": 6,
39
+ "Long Pants": 7,
40
+ "Polo": 8,
41
+ "Shirt": 9,
42
+ "Shorts": 10,
43
+ "Skirt": 11,
44
+ "Sports Jacket": 12,
45
+ "Sweater": 13,
46
+ "T-shirt": 14
47
  },
48
  "layer_norm_eps": 1e-12,
49
  "model_type": "vit",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:054400fdfece91390632c9ebde9ad44947fa8682254f29784525e33c868d0fc6
3
  size 343263964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a715c47e19dfc1104b65608e115fd6731f299ac95acadbfd47876173afa7e1
3
  size 343263964
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a50716a5f1549811f8e769d974bd756fae94eff983c2a6fdcc1629948d4af4b5
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49f1f0d35245f24ce45112eca68b5e8a46b3e609f94361d9be86699750887ef5
3
  size 5304