manikandan9943114590 commited on
Commit
2206688
1 Parent(s): 082d023

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/swin-base-patch4-window7-224",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "good",
21
+ "1": "poor"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "label2id": {
26
+ "good": "0",
27
+ "poor": "1"
28
+ },
29
+ "layer_norm_eps": 1e-05,
30
+ "mlp_ratio": 4.0,
31
+ "model_type": "swin",
32
+ "num_channels": 3,
33
+ "num_heads": [
34
+ 4,
35
+ 8,
36
+ 16,
37
+ 32
38
+ ],
39
+ "num_layers": 4,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "patch_size": 4,
47
+ "path_norm": true,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "stage_names": [
51
+ "stem",
52
+ "stage1",
53
+ "stage2",
54
+ "stage3",
55
+ "stage4"
56
+ ],
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.41.0",
59
+ "use_absolute_embeddings": false,
60
+ "window_size": 7
61
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9de4b84109960178b764cc8b1efb99db8ddd8af010b89c850fae1a8acd9f937
3
+ size 347498816
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:155d0a9b0e7ea5ba25cf3f99a5db61bac9a70ee0a198ba267c06efa1c8379bd1
3
+ size 694317645
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.485,
21
+ 0.456,
22
+ 0.406
23
+ ],
24
+ "image_processor_type": "ViTFeatureExtractor",
25
+ "image_std": [
26
+ 0.229,
27
+ 0.224,
28
+ 0.225
29
+ ],
30
+ "resample": 3,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af82c1f1d4ec999545a290f8875f59e0434314b9e98a3c2553c0c541daf4cdfa
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec8b8e6470b5e04bb0193f6d9f43b229719cb1d4d6e4cbec996cb59098cbb409
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0,
3
+ "best_model_checkpoint": "stork/checkpoint-8",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 8,
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.8888888888888888,
14
+ "eval_f1": 0.882051282051282,
15
+ "eval_loss": 0.3766050934791565,
16
+ "eval_precision": 0.9047619047619047,
17
+ "eval_recall": 0.8888888888888888,
18
+ "eval_runtime": 0.0932,
19
+ "eval_samples_per_second": 96.572,
20
+ "eval_steps_per_second": 10.73,
21
+ "step": 4
22
+ },
23
+ {
24
+ "epoch": 2.0,
25
+ "eval_accuracy": 1.0,
26
+ "eval_f1": 1.0,
27
+ "eval_loss": 0.027732856571674347,
28
+ "eval_precision": 1.0,
29
+ "eval_recall": 1.0,
30
+ "eval_runtime": 0.0886,
31
+ "eval_samples_per_second": 101.585,
32
+ "eval_steps_per_second": 11.287,
33
+ "step": 8
34
+ }
35
+ ],
36
+ "logging_steps": 10,
37
+ "max_steps": 240,
38
+ "num_input_tokens_seen": 0,
39
+ "num_train_epochs": 60,
40
+ "save_steps": 500,
41
+ "stateful_callbacks": {
42
+ "TrainerControl": {
43
+ "args": {
44
+ "should_epoch_stop": false,
45
+ "should_evaluate": false,
46
+ "should_log": false,
47
+ "should_save": true,
48
+ "should_training_stop": false
49
+ },
50
+ "attributes": {}
51
+ }
52
+ },
53
+ "total_flos": 1.17518333442048e+16,
54
+ "train_batch_size": 24,
55
+ "trial_name": null,
56
+ "trial_params": null
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:982391316b480bf7a8ab1d314ae0a95eeba82172b8e0767ad1479c83ccc36355
3
+ size 5176