Update paths of torch models
This commit is contained in:
parent
f9b2c25fe5
commit
93f3296eff
@ -158,8 +158,6 @@ if __name__ == '__main__':
|
|||||||
opt = parser.parse_args()
|
opt = parser.parse_args()
|
||||||
|
|
||||||
if opt.source:
|
if opt.source:
|
||||||
detect(opt.source, 'runs/train/yolov7-custom7/weights/best.pt',
|
detect(opt.source, 'yolo.pt', 'resnet.pt')
|
||||||
'resnet.pt')
|
|
||||||
if opt.onnx:
|
if opt.onnx:
|
||||||
export_to_onnx('runs/train/yolov7-custom7/weights/best.pt',
|
export_to_onnx('yolo.pt', 'resnet.pt')
|
||||||
'resnet.pt')
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user