dima806 commited on
Commit
3582cb6
·
verified ·
1 Parent(s): 23eb956

Upload folder using huggingface_hub

Browse files
checkpoint-1024/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/10_ship_types_image_detection",
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": "Bulkers",
13
+ "1": "Recreational",
14
+ "2": "Sailboat",
15
+ "3": "DDG",
16
+ "4": "Container Ship",
17
+ "5": "Tug",
18
+ "6": "Aircraft Carrier",
19
+ "7": "Cruise",
20
+ "8": "Submarine",
21
+ "9": "Car Carrier"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "Aircraft Carrier": 6,
28
+ "Bulkers": 0,
29
+ "Car Carrier": 9,
30
+ "Container Ship": 4,
31
+ "Cruise": 7,
32
+ "DDG": 3,
33
+ "Recreational": 1,
34
+ "Sailboat": 2,
35
+ "Submarine": 8,
36
+ "Tug": 5
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.38.2"
48
+ }
checkpoint-1024/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28e0fae68eefb855ae42627caee6f7c6e279eb8bd95dce5514dafabb59651054
3
+ size 343248584
checkpoint-1024/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1693629caf477eb9c962678a95ea1648c317690f453f8435d4368ca68580eb06
3
+ size 686617605
checkpoint-1024/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": "ViTImageProcessor",
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
+ }
checkpoint-1024/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3101575fd5351d588ef0bb283d82df9891749ae9fc0cf81c33f9b59a29738b2b
3
+ size 14575
checkpoint-1024/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed9632bc41df24307a92de6abbcb0490a9b96b3856663f1a9aa86e76a03dd251
3
+ size 627
checkpoint-1024/trainer_state.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.18863080441951752,
3
+ "best_model_checkpoint": "10_ship_types_image_detection/checkpoint-1024",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1024,
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.9953567937438905,
14
+ "eval_loss": 0.20611855387687683,
15
+ "eval_runtime": 54.6943,
16
+ "eval_samples_per_second": 74.816,
17
+ "eval_steps_per_second": 2.34,
18
+ "step": 256
19
+ },
20
+ {
21
+ "epoch": 1.95,
22
+ "grad_norm": 0.3894118666648865,
23
+ "learning_rate": 5.379876796714579e-07,
24
+ "loss": 0.1932,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.9958455522971652,
30
+ "eval_loss": 0.1957695037126541,
31
+ "eval_runtime": 54.9812,
32
+ "eval_samples_per_second": 74.425,
33
+ "eval_steps_per_second": 2.328,
34
+ "step": 512
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.9958455522971652,
39
+ "eval_loss": 0.19071072340011597,
40
+ "eval_runtime": 56.3584,
41
+ "eval_samples_per_second": 72.607,
42
+ "eval_steps_per_second": 2.271,
43
+ "step": 768
44
+ },
45
+ {
46
+ "epoch": 3.91,
47
+ "grad_norm": 0.46836429834365845,
48
+ "learning_rate": 2.4640657084188913e-08,
49
+ "loss": 0.1766,
50
+ "step": 1000
51
+ },
52
+ {
53
+ "epoch": 4.0,
54
+ "eval_accuracy": 0.9960899315738025,
55
+ "eval_loss": 0.18863080441951752,
56
+ "eval_runtime": 54.4793,
57
+ "eval_samples_per_second": 75.111,
58
+ "eval_steps_per_second": 2.35,
59
+ "step": 1024
60
+ }
61
+ ],
62
+ "logging_steps": 500,
63
+ "max_steps": 1024,
64
+ "num_input_tokens_seen": 0,
65
+ "num_train_epochs": 4,
66
+ "save_steps": 500,
67
+ "total_flos": 5.073919325435068e+18,
68
+ "train_batch_size": 64,
69
+ "trial_name": null,
70
+ "trial_params": null
71
+ }
checkpoint-1024/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926f7ce74bff68d78e43a50eac4d99dba830b726654b528d55190a4971914f96
3
+ size 4411
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:28d0f8e3ea4c6dc4e8c8bea2f7e1b4d8b389432a2fa0bc331106081189bcaf1a
3
  size 343248584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28e0fae68eefb855ae42627caee6f7c6e279eb8bd95dce5514dafabb59651054
3
  size 343248584
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a79c700cec5045f7f7fe4ab3397de36f1b9b519f5b6d5e498507455085c1519
3
  size 4411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926f7ce74bff68d78e43a50eac4d99dba830b726654b528d55190a4971914f96
3
  size 4411