Instructions to use susnato/detr-resnet-50_finetuned_plant_disease_detection_processed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use susnato/detr-resnet-50_finetuned_plant_disease_detection_processed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="susnato/detr-resnet-50_finetuned_plant_disease_detection_processed")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("susnato/detr-resnet-50_finetuned_plant_disease_detection_processed") model = AutoModelForObjectDetection.from_pretrained("susnato/detr-resnet-50_finetuned_plant_disease_detection_processed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 200
Browse files
config.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "relu",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"DetrForObjectDetection"
|
| 7 |
+
],
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"auxiliary_loss": false,
|
| 10 |
+
"backbone": "resnet50",
|
| 11 |
+
"backbone_config": null,
|
| 12 |
+
"bbox_cost": 5,
|
| 13 |
+
"bbox_loss_coefficient": 5,
|
| 14 |
+
"class_cost": 1,
|
| 15 |
+
"classifier_dropout": 0.0,
|
| 16 |
+
"d_model": 256,
|
| 17 |
+
"decoder_attention_heads": 8,
|
| 18 |
+
"decoder_ffn_dim": 2048,
|
| 19 |
+
"decoder_layerdrop": 0.0,
|
| 20 |
+
"decoder_layers": 6,
|
| 21 |
+
"dice_loss_coefficient": 1,
|
| 22 |
+
"dilation": false,
|
| 23 |
+
"dropout": 0.1,
|
| 24 |
+
"encoder_attention_heads": 8,
|
| 25 |
+
"encoder_ffn_dim": 2048,
|
| 26 |
+
"encoder_layerdrop": 0.0,
|
| 27 |
+
"encoder_layers": 6,
|
| 28 |
+
"eos_coefficient": 0.1,
|
| 29 |
+
"giou_cost": 2,
|
| 30 |
+
"giou_loss_coefficient": 2,
|
| 31 |
+
"id2label": {
|
| 32 |
+
"0": "Cherry leaf",
|
| 33 |
+
"1": "Peach leaf",
|
| 34 |
+
"2": "Corn leaf blight",
|
| 35 |
+
"3": "Apple rust leaf",
|
| 36 |
+
"4": "Potato leaf late blight",
|
| 37 |
+
"5": "Strawberry leaf",
|
| 38 |
+
"6": "Tomato leaf late blight",
|
| 39 |
+
"7": "Tomato mold leaf",
|
| 40 |
+
"8": "Potato leaf early blight",
|
| 41 |
+
"9": "Apple leaf",
|
| 42 |
+
"10": "Tomato leaf yellow virus",
|
| 43 |
+
"11": "Blueberry leaf",
|
| 44 |
+
"12": "Tomato leaf mosaic virus",
|
| 45 |
+
"13": "Raspberry leaf",
|
| 46 |
+
"14": "Tomato leaf bacterial spot",
|
| 47 |
+
"15": "Squash Powdery mildew leaf",
|
| 48 |
+
"16": "grape leaf",
|
| 49 |
+
"17": "Tomato Early blight leaf",
|
| 50 |
+
"18": "Apple Scab Leaf",
|
| 51 |
+
"19": "Tomato Septoria leaf spot",
|
| 52 |
+
"20": "Tomato leaf",
|
| 53 |
+
"21": "Soyabean leaf",
|
| 54 |
+
"22": "Bell_pepper leaf spot",
|
| 55 |
+
"23": "Bell_pepper leaf"
|
| 56 |
+
},
|
| 57 |
+
"init_std": 0.02,
|
| 58 |
+
"init_xavier_std": 1.0,
|
| 59 |
+
"is_encoder_decoder": true,
|
| 60 |
+
"label2id": {
|
| 61 |
+
"Apple Scab Leaf": 18,
|
| 62 |
+
"Apple leaf": 9,
|
| 63 |
+
"Apple rust leaf": 3,
|
| 64 |
+
"Bell_pepper leaf": 23,
|
| 65 |
+
"Bell_pepper leaf spot": 22,
|
| 66 |
+
"Blueberry leaf": 11,
|
| 67 |
+
"Cherry leaf": 0,
|
| 68 |
+
"Corn leaf blight": 2,
|
| 69 |
+
"Peach leaf": 1,
|
| 70 |
+
"Potato leaf early blight": 8,
|
| 71 |
+
"Potato leaf late blight": 4,
|
| 72 |
+
"Raspberry leaf": 13,
|
| 73 |
+
"Soyabean leaf": 21,
|
| 74 |
+
"Squash Powdery mildew leaf": 15,
|
| 75 |
+
"Strawberry leaf": 5,
|
| 76 |
+
"Tomato Early blight leaf": 17,
|
| 77 |
+
"Tomato Septoria leaf spot": 19,
|
| 78 |
+
"Tomato leaf": 20,
|
| 79 |
+
"Tomato leaf bacterial spot": 14,
|
| 80 |
+
"Tomato leaf late blight": 6,
|
| 81 |
+
"Tomato leaf mosaic virus": 12,
|
| 82 |
+
"Tomato leaf yellow virus": 10,
|
| 83 |
+
"Tomato mold leaf": 7,
|
| 84 |
+
"grape leaf": 16
|
| 85 |
+
},
|
| 86 |
+
"mask_loss_coefficient": 1,
|
| 87 |
+
"max_position_embeddings": 1024,
|
| 88 |
+
"model_type": "detr",
|
| 89 |
+
"num_channels": 3,
|
| 90 |
+
"num_hidden_layers": 6,
|
| 91 |
+
"num_queries": 100,
|
| 92 |
+
"position_embedding_type": "sine",
|
| 93 |
+
"scale_embedding": false,
|
| 94 |
+
"torch_dtype": "float32",
|
| 95 |
+
"transformers_version": "4.36.0.dev0",
|
| 96 |
+
"use_pretrained_backbone": true,
|
| 97 |
+
"use_timm_backbone": true
|
| 98 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d3fdfb1fcab046ddb091b6de1dc13885589093fa82eb319013da609e816d247
|
| 3 |
+
size 166518476
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_pad": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"format": "coco_detection",
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.485,
|
| 9 |
+
0.456,
|
| 10 |
+
0.406
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "DetrImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.229,
|
| 15 |
+
0.224,
|
| 16 |
+
0.225
|
| 17 |
+
],
|
| 18 |
+
"resample": 2,
|
| 19 |
+
"rescale_factor": 0.00392156862745098,
|
| 20 |
+
"size": {
|
| 21 |
+
"longest_edge": 1333,
|
| 22 |
+
"shortest_edge": 800
|
| 23 |
+
}
|
| 24 |
+
}
|
runs/Nov25_11-55-29_susnato-desktop/events.out.tfevents.1700893530.susnato-desktop.12904.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:664f38408785b1deaa5ec591de7e882a060061c0488ee3ff7cb3a65c36597e35
|
| 3 |
+
size 6430
|
runs/Nov25_11-58-07_susnato-desktop/events.out.tfevents.1700893688.susnato-desktop.13052.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5ffba181ac45b8e69fbbd05dffca23f0d1ce9d72d3fa85e8294b56fae886428
|
| 3 |
+
size 7053
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db3b9567126157b88970c640fd3a86faf1255cde30ea69cfa66c72b51564f69f
|
| 3 |
+
size 4283
|