Professor commited on
Commit
5205856
·
verified ·
1 Parent(s): 2503d3d

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,38 +1,67 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "other",
13
  "1": "DR",
14
  "2": "WD",
15
- "3": "ND",
16
- "4": "G"
17
  },
18
  "image_size": 224,
19
  "initializer_range": 0.02,
20
- "intermediate_size": 3072,
21
  "label2id": {
22
  "DR": 1,
23
- "G": 4,
24
- "ND": 3,
25
  "WD": 2,
26
- "other": 0
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.36.2"
 
 
38
  }
 
1
  {
2
+ "_name_or_path": "gianlab/swin-tiny-patch4-window7-224-finetuned-plantdisease",
3
  "architectures": [
4
+ "SwinForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
  "hidden_size": 768,
19
  "id2label": {
20
+ "0": "ND",
21
  "1": "DR",
22
  "2": "WD",
23
+ "3": "G",
24
+ "4": "other"
25
  },
26
  "image_size": 224,
27
  "initializer_range": 0.02,
 
28
  "label2id": {
29
  "DR": 1,
30
+ "G": 3,
31
+ "ND": 0,
32
  "WD": 2,
33
+ "other": 4
34
  },
35
+ "layer_norm_eps": 1e-05,
36
+ "mlp_ratio": 4.0,
37
+ "model_type": "swin",
38
  "num_channels": 3,
39
+ "num_heads": [
40
+ 3,
41
+ 6,
42
+ 12,
43
+ 24
44
+ ],
45
+ "num_layers": 4,
46
+ "out_features": [
47
+ "stage4"
48
+ ],
49
+ "out_indices": [
50
+ 4
51
+ ],
52
+ "patch_size": 4,
53
+ "path_norm": true,
54
  "problem_type": "single_label_classification",
55
  "qkv_bias": true,
56
+ "stage_names": [
57
+ "stem",
58
+ "stage1",
59
+ "stage2",
60
+ "stage3",
61
+ "stage4"
62
+ ],
63
  "torch_dtype": "float32",
64
+ "transformers_version": "4.37.1",
65
+ "use_absolute_embeddings": false,
66
+ "window_size": 7
67
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b09ef92ea28b17f6cb0a7efd8488d53fd78d843367a1541dbb407d4a9972845a
3
- size 343233204
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81b149a72e7cc05e954b10cf2c16367fc96a8d9ada3083742fc84a729687ccb1
3
+ size 110382828
preprocessor_config.json CHANGED
@@ -3,17 +3,17 @@
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,
 
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
  ],
16
+ "resample": 3,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
  "height": 224,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f74759d0e0d2cd5588c58e90f1e90bcc4a52e1987e4f6ca3fa65a38daf15ad26
3
  size 4283
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2ac96f2f9021869e90de8c212be58b77cc2cc6d46bda7635e1116934ea6b8d
3
  size 4283