NonoBru commited on
Commit
aaed6ab
1 Parent(s): db74e9f

commit files to HF hub

Browse files
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - image-classification
5
+ - pytorch
6
+ - huggingpics
7
+ metrics:
8
+ - accuracy
9
+
10
+ model-index:
11
+ - name: deficiency-classifier
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ metrics:
17
+ - name: Accuracy
18
+ type: accuracy
19
+ value: 0.3888888955116272
20
+ ---
21
+
22
+ # deficiency-classifier
23
+
24
+
25
+ Autogenerated by a tweeked version HuggingPics🤗🖼️
26
+
27
+
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Calcium Deficiency",
13
+ "1": "Copper Deficiency",
14
+ "10": "Underwatering",
15
+ "11": "Zinc Deficiency",
16
+ "2": "Iron Deficiency (Chlorosis)",
17
+ "3": "Magnesium Deficiency",
18
+ "4": "Manganese Deficiency",
19
+ "5": "Nitrogen Deficiency",
20
+ "6": "Overwatering",
21
+ "7": "Phosphorus Deficiency",
22
+ "8": "Potassium Deficiency",
23
+ "9": "Sulfur Deficiency"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "Calcium Deficiency": "0",
30
+ "Copper Deficiency": "1",
31
+ "Iron Deficiency (Chlorosis)": "2",
32
+ "Magnesium Deficiency": "3",
33
+ "Manganese Deficiency": "4",
34
+ "Nitrogen Deficiency": "5",
35
+ "Overwatering": "6",
36
+ "Phosphorus Deficiency": "7",
37
+ "Potassium Deficiency": "8",
38
+ "Sulfur Deficiency": "9",
39
+ "Underwatering": "10",
40
+ "Zinc Deficiency": "11"
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "model_type": "vit",
44
+ "num_attention_heads": 12,
45
+ "num_channels": 3,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.35.2"
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2ac54dbe0a5dbe4fb42829ca3f72750e8f849f20693dc2ce01a2f90c426b6a2
3
+ size 343254736
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
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": "ViTFeatureExtractor",
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,
20
+ "width": 224
21
+ }
22
+ }
runs/events.out.tfevents.1702685782.259ebc9f6552.1085.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06d5c0aaf1dcfa395dab4db9d37e46bdaf983ec7e5e48605d43096384033f6ed
3
+ size 2332