Update config.json
Browse files- config.json +35 -16
config.json
CHANGED
@@ -1,19 +1,38 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
"classes": [
|
12 |
-
{
|
13 |
-
"id": 0,
|
14 |
-
"name": "Grape"
|
15 |
-
}
|
16 |
],
|
17 |
-
"
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
|
|
1 |
{
|
2 |
+
"input_size": 640,
|
3 |
+
"task": "instance-segmentation",
|
4 |
+
"ultralytics_version": "8.0.20", // Adjust this based on your actual version
|
5 |
+
"model_type": "v8",
|
6 |
+
"pipeline_tag": "image-segmentation",
|
7 |
+
"tags": ["yolov8", "segmentation"],
|
8 |
+
"model": "yolov8-seg",
|
9 |
+
"class_set": [
|
10 |
+
{"name": "Grape", "id": 0}
|
|
|
|
|
|
|
|
|
|
|
11 |
],
|
12 |
+
"labels": [
|
13 |
+
{"name": "Grape", "attributes": []}
|
14 |
+
],
|
15 |
+
"id2label": {
|
16 |
+
"0": "Grape"
|
17 |
+
},
|
18 |
+
"hyperparameters": {
|
19 |
+
"epochs": 100, // Adjust as needed
|
20 |
+
"imgsz": 640,
|
21 |
+
"batch_size": 16, // Adjust based on your training setup
|
22 |
+
"learning_rate": 0.01,
|
23 |
+
"momentum": 0.9,
|
24 |
+
"weight_decay": 0.0005,
|
25 |
+
"optimizer": "SGD", // Change if you used a different optimizer
|
26 |
+
"lr_scheduler": "StepLR",
|
27 |
+
"step_size": 10,
|
28 |
+
"gamma": 0.1
|
29 |
+
},
|
30 |
+
"architectures": ["YOLOv8"],
|
31 |
+
"model_name_or_path": "Yasssh2123/Grape", // Your Hugging Face model repo
|
32 |
+
"use_cache": false,
|
33 |
+
"do_sample": false,
|
34 |
+
"early_stopping": true,
|
35 |
+
"fp16": false,
|
36 |
+
"num_beams": 1,
|
37 |
+
"use_legacy_prediction_head": false
|
38 |
}
|