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

Update ssd.py

上级 b76ed890
......@@ -11,6 +11,10 @@ from PIL import Image,ImageFont, ImageDraw
from torch.autograd import Variable
MEANS = (104, 117, 123)
#--------------------------------------------#
# 使用自己训练好的模型预测需要修改2个参数
# model_path和classes_path都需要修改!
#--------------------------------------------#
class SSD(object):
_defaults = {
"model_path": 'model_data/ssd_weights.pth',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册