Upload folder using huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: microsoft/resnet-50
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
datasets:
|
15 |
+
- A2H0H0R1/plant-disease-new
|
16 |
+
---
|
17 |
+
|
18 |
+
# Model Trained Using AutoTrain
|
19 |
+
|
20 |
+
- Problem type: Image Classification
|
21 |
+
|
22 |
+
## Validation Metrics
|
23 |
+
No validation metrics available
|
config.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"_num_labels": 38,
|
4 |
+
"architectures": [
|
5 |
+
"ResNetForImageClassification"
|
6 |
+
],
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
6,
|
11 |
+
3
|
12 |
+
],
|
13 |
+
"downsample_in_bottleneck": false,
|
14 |
+
"downsample_in_first_stage": false,
|
15 |
+
"embedding_size": 64,
|
16 |
+
"hidden_act": "relu",
|
17 |
+
"hidden_sizes": [
|
18 |
+
256,
|
19 |
+
512,
|
20 |
+
1024,
|
21 |
+
2048
|
22 |
+
],
|
23 |
+
"id2label": {
|
24 |
+
"0": "Apple___Apple_scab",
|
25 |
+
"1": "Apple___Black_rot",
|
26 |
+
"2": "Apple___Cedar_apple_rust",
|
27 |
+
"3": "Apple___healthy",
|
28 |
+
"4": "Blueberry___healthy",
|
29 |
+
"5": "Cherry_(including_sour)___Powdery_mildew",
|
30 |
+
"6": "Cherry_(including_sour)___healthy",
|
31 |
+
"7": "Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot",
|
32 |
+
"8": "Corn_(maize)___Common_rust_",
|
33 |
+
"9": "Corn_(maize)___Northern_Leaf_Blight",
|
34 |
+
"10": "Corn_(maize)___healthy",
|
35 |
+
"11": "Grape___Black_rot",
|
36 |
+
"12": "Grape___Esca_(Black_Measles)",
|
37 |
+
"13": "Grape___Leaf_blight_(Isariopsis_Leaf_Spot)",
|
38 |
+
"14": "Grape___healthy",
|
39 |
+
"15": "Orange___Haunglongbing_(Citrus_greening)",
|
40 |
+
"16": "Peach___Bacterial_spot",
|
41 |
+
"17": "Peach___healthy",
|
42 |
+
"18": "Pepper,_bell___Bacterial_spot",
|
43 |
+
"19": "Pepper,_bell___healthy",
|
44 |
+
"20": "Potato___Early_blight",
|
45 |
+
"21": "Potato___Late_blight",
|
46 |
+
"22": "Potato___healthy",
|
47 |
+
"23": "Raspberry___healthy",
|
48 |
+
"24": "Soybean___healthy",
|
49 |
+
"25": "Squash___Powdery_mildew",
|
50 |
+
"26": "Strawberry___Leaf_scorch",
|
51 |
+
"27": "Strawberry___healthy",
|
52 |
+
"28": "Tomato___Bacterial_spot",
|
53 |
+
"29": "Tomato___Early_blight",
|
54 |
+
"30": "Tomato___Late_blight",
|
55 |
+
"31": "Tomato___Leaf_Mold",
|
56 |
+
"32": "Tomato___Septoria_leaf_spot",
|
57 |
+
"33": "Tomato___Spider_mites Two-spotted_spider_mite",
|
58 |
+
"34": "Tomato___Target_Spot",
|
59 |
+
"35": "Tomato___Tomato_Yellow_Leaf_Curl_Virus",
|
60 |
+
"36": "Tomato___Tomato_mosaic_virus",
|
61 |
+
"37": "Tomato___healthy"
|
62 |
+
},
|
63 |
+
"label2id": {
|
64 |
+
"Apple___Apple_scab": 0,
|
65 |
+
"Apple___Black_rot": 1,
|
66 |
+
"Apple___Cedar_apple_rust": 2,
|
67 |
+
"Apple___healthy": 3,
|
68 |
+
"Blueberry___healthy": 4,
|
69 |
+
"Cherry_(including_sour)___Powdery_mildew": 5,
|
70 |
+
"Cherry_(including_sour)___healthy": 6,
|
71 |
+
"Corn_(maize)___Cercospora_leaf_spot Gray_leaf_spot": 7,
|
72 |
+
"Corn_(maize)___Common_rust_": 8,
|
73 |
+
"Corn_(maize)___Northern_Leaf_Blight": 9,
|
74 |
+
"Corn_(maize)___healthy": 10,
|
75 |
+
"Grape___Black_rot": 11,
|
76 |
+
"Grape___Esca_(Black_Measles)": 12,
|
77 |
+
"Grape___Leaf_blight_(Isariopsis_Leaf_Spot)": 13,
|
78 |
+
"Grape___healthy": 14,
|
79 |
+
"Orange___Haunglongbing_(Citrus_greening)": 15,
|
80 |
+
"Peach___Bacterial_spot": 16,
|
81 |
+
"Peach___healthy": 17,
|
82 |
+
"Pepper,_bell___Bacterial_spot": 18,
|
83 |
+
"Pepper,_bell___healthy": 19,
|
84 |
+
"Potato___Early_blight": 20,
|
85 |
+
"Potato___Late_blight": 21,
|
86 |
+
"Potato___healthy": 22,
|
87 |
+
"Raspberry___healthy": 23,
|
88 |
+
"Soybean___healthy": 24,
|
89 |
+
"Squash___Powdery_mildew": 25,
|
90 |
+
"Strawberry___Leaf_scorch": 26,
|
91 |
+
"Strawberry___healthy": 27,
|
92 |
+
"Tomato___Bacterial_spot": 28,
|
93 |
+
"Tomato___Early_blight": 29,
|
94 |
+
"Tomato___Late_blight": 30,
|
95 |
+
"Tomato___Leaf_Mold": 31,
|
96 |
+
"Tomato___Septoria_leaf_spot": 32,
|
97 |
+
"Tomato___Spider_mites Two-spotted_spider_mite": 33,
|
98 |
+
"Tomato___Target_Spot": 34,
|
99 |
+
"Tomato___Tomato_Yellow_Leaf_Curl_Virus": 35,
|
100 |
+
"Tomato___Tomato_mosaic_virus": 36,
|
101 |
+
"Tomato___healthy": 37
|
102 |
+
},
|
103 |
+
"layer_type": "bottleneck",
|
104 |
+
"model_type": "resnet",
|
105 |
+
"num_channels": 3,
|
106 |
+
"out_features": [
|
107 |
+
"stage4"
|
108 |
+
],
|
109 |
+
"out_indices": [
|
110 |
+
4
|
111 |
+
],
|
112 |
+
"problem_type": "single_label_classification",
|
113 |
+
"stage_names": [
|
114 |
+
"stem",
|
115 |
+
"stage1",
|
116 |
+
"stage2",
|
117 |
+
"stage3",
|
118 |
+
"stage4"
|
119 |
+
],
|
120 |
+
"torch_dtype": "float32",
|
121 |
+
"transformers_version": "4.45.0"
|
122 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:856649f2eeef12d38ad514d509274438dd5236df4dc0ab9b4967743895045818
|
3 |
+
size 94598072
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Oct22_21-48-09_r-ozair23-plantdisease-lfn526kx-390b7-lk155/events.out.tfevents.1729633692.r-ozair23-plantdisease-lfn526kx-390b7-lk155.101.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c5777e4451ade73644405d86d6c8f14fa84249cc29dd0eba61c7b158f755a81
|
3 |
+
size 180611
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33e6484c044c8fad06ace2e31831f4399829ca33a35d3f0e30e826ffad876b40
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "A2H0H0R1/plant-disease-new",
|
3 |
+
"model": "microsoft/resnet-50",
|
4 |
+
"username": "ozair23",
|
5 |
+
"lr": 3e-05,
|
6 |
+
"epochs": 1,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": null,
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-w5nk2-rvmqx",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "image",
|
25 |
+
"target_column": "label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|