Training in progress, epoch 1
Browse files- config.json +45 -16
- model.safetensors +2 -2
- preprocessor_config.json +7 -7
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,38 +1,67 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.0,
|
| 7 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.0,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
-
"0": "
|
| 13 |
"1": "DR",
|
| 14 |
"2": "WD",
|
| 15 |
-
"3": "
|
| 16 |
-
"4": "
|
| 17 |
},
|
| 18 |
"image_size": 224,
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
-
"intermediate_size": 3072,
|
| 21 |
"label2id": {
|
| 22 |
"DR": 1,
|
| 23 |
-
"G":
|
| 24 |
-
"ND":
|
| 25 |
"WD": 2,
|
| 26 |
-
"other":
|
| 27 |
},
|
| 28 |
-
"layer_norm_eps": 1e-
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
"num_channels": 3,
|
| 32 |
-
"
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
"problem_type": "single_label_classification",
|
| 35 |
"qkv_bias": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
"torch_dtype": "float32",
|
| 37 |
-
"transformers_version": "4.
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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.
|
| 7 |
-
0.
|
| 8 |
-
0.
|
| 9 |
],
|
| 10 |
"image_processor_type": "ViTImageProcessor",
|
| 11 |
"image_std": [
|
| 12 |
-
0.
|
| 13 |
-
0.
|
| 14 |
-
0.
|
| 15 |
],
|
| 16 |
-
"resample":
|
| 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:
|
| 3 |
size 4283
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a2ac96f2f9021869e90de8c212be58b77cc2cc6d46bda7635e1116934ea6b8d
|
| 3 |
size 4283
|