samake commited on
Commit
04d519d
1 Parent(s): b2c8761

Upload 4 files

Browse files
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/dinov2-base",
3
+ "architectures": [
4
+ "Dinov2ForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "drop_path_rate": 0.0,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "anthracnose_leaf",
13
+ "1": "anthracnose_pod",
14
+ "2": "black_pod",
15
+ "3": "frosty_pod",
16
+ "4": "healthy_leaf",
17
+ "5": "healthy_pod",
18
+ "6": "mirid",
19
+ "7": "phytophthora",
20
+ "8": "pod_borer",
21
+ "9": "swollen_shoot_virus_leaf",
22
+ "10": "swollen_shoot_virus_pod",
23
+ "11": "swollen_shoot_virus_stem"
24
+ },
25
+ "image_size": 518,
26
+ "initializer_range": 0.02,
27
+ "label2id": {
28
+ "anthracnose_leaf": 0,
29
+ "anthracnose_pod": 1,
30
+ "black_pod": 2,
31
+ "frosty_pod": 3,
32
+ "healthy_leaf": 4,
33
+ "healthy_pod": 5,
34
+ "mirid": 6,
35
+ "phytophthora": 7,
36
+ "pod_borer": 8,
37
+ "swollen_shoot_virus_leaf": 9,
38
+ "swollen_shoot_virus_pod": 10,
39
+ "swollen_shoot_virus_stem": 11
40
+ },
41
+ "layer_norm_eps": 1e-06,
42
+ "layerscale_value": 1.0,
43
+ "mlp_ratio": 4,
44
+ "model_type": "dinov2",
45
+ "num_attention_heads": 12,
46
+ "num_channels": 3,
47
+ "num_hidden_layers": 12,
48
+ "patch_size": 14,
49
+ "problem_type": "single_label_classification",
50
+ "qkv_bias": true,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.32.1",
53
+ "use_swiglu_ffn": false
54
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "BitImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 256
26
+ }
27
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93044184997fbc67f447d7f2b4f3811928203ad75fd09ca7eafe9013ca87700e
3
+ size 346469006
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52321fad75daf5f6c6cf0247d43dbba754c3fecec0a77a49a3067c581b50d4a5
3
+ size 4536