SodaXII commited on
Commit
821e07b
·
verified ·
1 Parent(s): 0519fb3

Model save

Browse files
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: microsoft/swin-base-patch4-window7-224
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: swin-base-patch4-window7-224_rice-leaf-disease-augmented_fft_012825
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # swin-base-patch4-window7-224_rice-leaf-disease-augmented_fft_012825
16
+
17
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on an unknown dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 5e-05
37
+ - train_batch_size: 64
38
+ - eval_batch_size: 64
39
+ - seed: 42
40
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
+ - lr_scheduler_type: linear
42
+ - lr_scheduler_warmup_ratio: 0.1
43
+ - num_epochs: 20
44
+
45
+ ### Framework versions
46
+
47
+ - Transformers 4.47.1
48
+ - Pytorch 2.5.1+cu121
49
+ - Datasets 3.2.0
50
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Bacterial Leaf Blight",
21
+ "1": "Brown Spot",
22
+ "2": "Healthy Rice Leaf",
23
+ "3": "Leaf Blast",
24
+ "4": "Leaf Scald",
25
+ "5": "Narrow Brown Leaf Spot",
26
+ "6": "Rice Hispa",
27
+ "7": "Sheath Blight"
28
+ },
29
+ "image_size": 224,
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "Bacterial Leaf Blight": 0,
33
+ "Brown Spot": 1,
34
+ "Healthy Rice Leaf": 2,
35
+ "Leaf Blast": 3,
36
+ "Leaf Scald": 4,
37
+ "Narrow Brown Leaf Spot": 5,
38
+ "Rice Hispa": 6,
39
+ "Sheath Blight": 7
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "mlp_ratio": 4.0,
43
+ "model_type": "swin",
44
+ "num_channels": 3,
45
+ "num_heads": [
46
+ 4,
47
+ 8,
48
+ 16,
49
+ 32
50
+ ],
51
+ "num_layers": 4,
52
+ "out_features": [
53
+ "stage4"
54
+ ],
55
+ "out_indices": [
56
+ 4
57
+ ],
58
+ "patch_size": 4,
59
+ "path_norm": true,
60
+ "qkv_bias": true,
61
+ "stage_names": [
62
+ "stem",
63
+ "stage1",
64
+ "stage2",
65
+ "stage3",
66
+ "stage4"
67
+ ],
68
+ "torch_dtype": "float32",
69
+ "transformers_version": "4.47.1",
70
+ "use_absolute_embeddings": false,
71
+ "window_size": 7
72
+ }
logs/events.out.tfevents.1738068148.d82eda98f87c.3189.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bdad132bf89c7f93c1a4d9092a7e01caac7167a70f1813f9542da58c96428d1
3
+ size 88
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b70719da559881f946026fedb93a6972274653ace59fc7eccd94add9259996a7
3
+ size 347523416
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.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc5c350138816cd7209fe323f2263e2a4745e35cb5f15e6d9c4b1f9690abd1ed
3
+ size 5496