dima806 commited on
Commit
6150b84
·
verified ·
1 Parent(s): 5e7c6d8

Upload folder using huggingface_hub

Browse files
checkpoint-930/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/wildfire_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": "Both_smoke_and_fire",
13
+ "1": "Fire_confounding_elements",
14
+ "2": "Forested_areas_without_confounding_elements",
15
+ "3": "Smoke_confounding_elements",
16
+ "4": "Smoke_from_fires"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Both_smoke_and_fire": 0,
23
+ "Fire_confounding_elements": 1,
24
+ "Forested_areas_without_confounding_elements": 2,
25
+ "Smoke_confounding_elements": 3,
26
+ "Smoke_from_fires": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.38.2"
38
+ }
checkpoint-930/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a490d3e1de047241b1df8f16fb8bd0847c1d47883c8713d8270e45c4e713f33d
3
+ size 343233204
checkpoint-930/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12f8f8d2f79be68213d5fe4fbedd8912c22288e263a90232319beb54ffb2439d
3
+ size 686586885
checkpoint-930/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-930/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c01136ed894a4713f13e7e2753980c2b31d7ab88f401c95ec8f7748dc9c249e5
3
+ size 14575
checkpoint-930/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf6e84d31e9513454f35a743c257ac044160c9479072f38f6cb78a7a5d5da6b
3
+ size 627
checkpoint-930/trainer_state.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.41760945320129395,
3
+ "best_model_checkpoint": "wildfire_types_image_detection/checkpoint-930",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 930,
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.8825847123719465,
14
+ "eval_loss": 0.4752463698387146,
15
+ "eval_runtime": 347.2919,
16
+ "eval_samples_per_second": 3.654,
17
+ "eval_steps_per_second": 0.458,
18
+ "step": 186
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.8959810874704491,
23
+ "eval_loss": 0.4484263062477112,
24
+ "eval_runtime": 347.5981,
25
+ "eval_samples_per_second": 3.651,
26
+ "eval_steps_per_second": 0.457,
27
+ "step": 372
28
+ },
29
+ {
30
+ "epoch": 2.69,
31
+ "grad_norm": 5.007945537567139,
32
+ "learning_rate": 1.465909090909091e-06,
33
+ "loss": 0.3867,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.8983451536643026,
39
+ "eval_loss": 0.43289777636528015,
40
+ "eval_runtime": 344.1545,
41
+ "eval_samples_per_second": 3.687,
42
+ "eval_steps_per_second": 0.462,
43
+ "step": 558
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 0.9014972419227738,
48
+ "eval_loss": 0.4210251271724701,
49
+ "eval_runtime": 343.269,
50
+ "eval_samples_per_second": 3.697,
51
+ "eval_steps_per_second": 0.463,
52
+ "step": 744
53
+ },
54
+ {
55
+ "epoch": 5.0,
56
+ "eval_accuracy": 0.9030732860520094,
57
+ "eval_loss": 0.41760945320129395,
58
+ "eval_runtime": 347.7036,
59
+ "eval_samples_per_second": 3.65,
60
+ "eval_steps_per_second": 0.457,
61
+ "step": 930
62
+ }
63
+ ],
64
+ "logging_steps": 500,
65
+ "max_steps": 930,
66
+ "num_input_tokens_seen": 0,
67
+ "num_train_epochs": 5,
68
+ "save_steps": 500,
69
+ "total_flos": 1.1472997540690022e+18,
70
+ "train_batch_size": 16,
71
+ "trial_name": null,
72
+ "trial_params": null
73
+ }
checkpoint-930/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0ee8eef683969b12870780a79dc2936e9eaad5f9efaec3460b56de7f6a7f435
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
  ],
@@ -34,5 +34,5 @@
34
  "problem_type": "single_label_classification",
35
  "qkv_bias": true,
36
  "torch_dtype": "float32",
37
- "transformers_version": "4.35.0"
38
  }
 
1
  {
2
+ "_name_or_path": "dima806/wildfire_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
34
  "problem_type": "single_label_classification",
35
  "qkv_bias": true,
36
  "torch_dtype": "float32",
37
+ "transformers_version": "4.38.2"
38
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c7d9fa45ab234a1713f504b8a925f5c94c2ea263dcb39033a93acc7aba88ea8a
3
  size 343233204
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a490d3e1de047241b1df8f16fb8bd0847c1d47883c8713d8270e45c4e713f33d
3
  size 343233204
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7d409e635e141ad0ed6084f7f575a0394c77507c7ffa50c02b229ee29e4ebecc
3
- size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0ee8eef683969b12870780a79dc2936e9eaad5f9efaec3460b56de7f6a7f435
3
+ size 4411