未验证 提交 49800d87 编写于 作者: B Bubbliiiing 提交者: GitHub

Update yolo.py

上级 0c8ca8e9
......@@ -20,12 +20,12 @@ from utils.utils import non_max_suppression, bbox_iou, DecodeBox,letterbox_image
#--------------------------------------------#
class YOLO(object):
_defaults = {
"model_path": 'model_data/yolo_weights.pth',
"classes_path": 'model_data/coco_classes.txt',
"model_image_size" : (416, 416, 3),
"confidence": 0.5,
"iou" : 0.3,
"cuda": True
"model_path" : 'model_data/yolo_weights.pth',
"classes_path" : 'model_data/coco_classes.txt',
"model_image_size" : (416, 416, 3),
"confidence" : 0.5,
"iou" : 0.3,
"cuda" : True
}
@classmethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册