dima806 commited on
Commit
c488a62
·
verified ·
1 Parent(s): 7a85039

Upload folder using huggingface_hub

Browse files
checkpoint-512/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-512/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d0f8e3ea4c6dc4e8c8bea2f7e1b4d8b389432a2fa0bc331106081189bcaf1a
3
+ size 343248584
checkpoint-512/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f3022542755af80132a26d771814b40259c38d17fe8b00395d247f8b32c1417
3
+ size 686617605
checkpoint-512/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-512/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa54c3f3ff26bdd2e70a2fd08ad0d574674040a1822163426488164d0ec925e3
3
+ size 14575
checkpoint-512/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fcc06ffa05999f2921ff48e88a58885b676c06c8ec3a22aef4526088dfafc6a
3
+ size 627
checkpoint-512/trainer_state.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.22833898663520813,
3
+ "best_model_checkpoint": "10_ship_types_image_detection/checkpoint-512",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 512,
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.9904692082111437,
14
+ "eval_loss": 0.24325035512447357,
15
+ "eval_runtime": 56.5661,
16
+ "eval_samples_per_second": 72.34,
17
+ "eval_steps_per_second": 2.263,
18
+ "step": 256
19
+ },
20
+ {
21
+ "epoch": 1.95,
22
+ "grad_norm": 0.6930463314056396,
23
+ "learning_rate": 5.194805194805195e-08,
24
+ "loss": 0.2375,
25
+ "step": 500
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "eval_accuracy": 0.9916911045943304,
30
+ "eval_loss": 0.22833898663520813,
31
+ "eval_runtime": 56.345,
32
+ "eval_samples_per_second": 72.624,
33
+ "eval_steps_per_second": 2.272,
34
+ "step": 512
35
+ }
36
+ ],
37
+ "logging_steps": 500,
38
+ "max_steps": 512,
39
+ "num_input_tokens_seen": 0,
40
+ "num_train_epochs": 2,
41
+ "save_steps": 500,
42
+ "total_flos": 2.536959662717534e+18,
43
+ "train_batch_size": 64,
44
+ "trial_name": null,
45
+ "trial_params": null
46
+ }
checkpoint-512/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a79c700cec5045f7f7fe4ab3397de36f1b9b519f5b6d5e498507455085c1519
3
+ size 4411
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -44,5 +44,5 @@
44
  "problem_type": "single_label_classification",
45
  "qkv_bias": true,
46
  "torch_dtype": "float32",
47
- "transformers_version": "4.34.1"
48
  }
 
1
  {
2
+ "_name_or_path": "dima806/10_ship_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
44
  "problem_type": "single_label_classification",
45
  "qkv_bias": true,
46
  "torch_dtype": "float32",
47
+ "transformers_version": "4.38.2"
48
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d0f8e3ea4c6dc4e8c8bea2f7e1b4d8b389432a2fa0bc331106081189bcaf1a
3
+ size 343248584
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:124681a3ed8e98264c365d08e9c970662dcc4d12788bd2ccd47ff5342f462afc
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a79c700cec5045f7f7fe4ab3397de36f1b9b519f5b6d5e498507455085c1519
3
+ size 4411