未验证 提交 b4a99d80 编写于 作者: J JiaQi Xu 提交者: GitHub

Update train.py

上级 a856819e
......@@ -79,7 +79,7 @@ if __name__ == "__main__":
net = torch.nn.DataParallel(model)
cudnn.benchmark = True
net = net.cuda()
net = net.cuda().train()
# 建立loss函数
yolo_losses = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册