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

Update train.py

上级 cdf9e83f
......@@ -40,7 +40,10 @@ if __name__ == "__main__":
Use_Data_Loader = True
model = get_ssd("train",Config["num_classes"])
#-------------------------------------------#
# 权值文件的下载请看README
#-------------------------------------------#
print('Loading weights into state dict...')
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
model_dict = model.state_dict()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册