jeffhaines commited on
Commit
57f7136
1 Parent(s): c5a3f0c

Upload 4 files

Browse files
vit/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "bacterial_leaf_blight",
13
+ "1": "bacterial_leaf_streak",
14
+ "2": "bacterial_panicle_blight",
15
+ "3": "blast",
16
+ "4": "brown_spot",
17
+ "5": "dead_heart",
18
+ "6": "downy_mildew",
19
+ "7": "hispa",
20
+ "8": "normal",
21
+ "9": "tungro"
22
+ },
23
+ "image_size": 224,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "bacterial_leaf_blight": "0",
28
+ "bacterial_leaf_streak": "1",
29
+ "bacterial_panicle_blight": "2",
30
+ "blast": "3",
31
+ "brown_spot": "4",
32
+ "dead_heart": "5",
33
+ "downy_mildew": "6",
34
+ "hispa": "7",
35
+ "normal": "8",
36
+ "tungro": "9"
37
+ },
38
+ "layer_norm_eps": 1e-12,
39
+ "model_type": "vit",
40
+ "num_attention_heads": 12,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.20.1"
48
+ }
vit/preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
vit/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e675c844b56865db56c429590771049574687f343ecd64b3410abdf66b4e5d6e
3
+ size 343291569
vit/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07a9124a12fec0b7f5003dc872771ffb16bd3e887713dcc06dacb31fb65d7e58
3
+ size 3247