Spaces:
Runtime error
Runtime error
Create config.py
Browse files
config.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
yolo_config = {
|
2 |
+
# Basic
|
3 |
+
'img_size': (416, 416, 3),
|
4 |
+
'anchors': [12, 16, 19, 36, 40, 28, 36, 75, 76, 55, 72, 146, 142, 110, 192, 243, 459, 401],
|
5 |
+
'strides': [8, 16, 32],
|
6 |
+
'xyscale': [1.2, 1.1, 1.05],
|
7 |
+
|
8 |
+
# Training
|
9 |
+
'iou_loss_thresh': 0.5,
|
10 |
+
'batch_size': 8,
|
11 |
+
'num_gpu': 1, # 2,
|
12 |
+
|
13 |
+
# Inference
|
14 |
+
'max_boxes': 100,
|
15 |
+
'iou_threshold': 0.413,
|
16 |
+
'score_threshold': 0.3,
|
17 |
+
}
|