🔧 [Add] config for inference image
Browse files
yolo/config/general.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
cpu_num: 16
|
| 3 |
|
| 4 |
class_num: 80
|
|
@@ -9,4 +9,6 @@ exist_ok: True
|
|
| 9 |
|
| 10 |
lucky_number: 10
|
| 11 |
use_wandb: False
|
| 12 |
-
use_TensorBoard: False
|
|
|
|
|
|
|
|
|
| 1 |
+
device: 0
|
| 2 |
cpu_num: 16
|
| 3 |
|
| 4 |
class_num: 80
|
|
|
|
| 9 |
|
| 10 |
lucky_number: 10
|
| 11 |
use_wandb: False
|
| 12 |
+
use_TensorBoard: False
|
| 13 |
+
|
| 14 |
+
weight: v9-c.pt
|
yolo/config/task/dataset/coco.yaml
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
path: data/coco
|
|
|
|
|
|
|
| 2 |
|
| 3 |
auto_download:
|
| 4 |
images:
|
|
|
|
| 1 |
path: data/coco
|
| 2 |
+
train: train2017
|
| 3 |
+
|
| 4 |
|
| 5 |
auto_download:
|
| 6 |
images:
|
yolo/config/task/dataset/demo.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
path: demo
|
| 2 |
+
|
| 3 |
+
auto_download:
|
yolo/config/task/inference.yaml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task: inference
|
| 2 |
+
defaults:
|
| 3 |
+
- dataset: demo
|
| 4 |
+
data:
|
| 5 |
+
batch_size: 16
|
| 6 |
+
shuffle: False
|
| 7 |
+
pin_memory: True
|
| 8 |
+
data_augment: {}
|
| 9 |
+
nms:
|
| 10 |
+
min_confidence: 0.5
|
| 11 |
+
min_iou: 0.5
|