export.py update
This commit is contained in:
1 parent
f1d67f4110
commit
a62a1c2c67
2 files changed
+9
-9
No files matched your search
@@ -156,9 +156,9 @@ if __name__ == '__main__':
|
||||
print(opt)
|
||||
|
||||
with torch.no_grad():
|
||||
detect()
|
||||
# detect()
|
||||
|
||||
# Update all models
|
||||
# for opt.weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt', 'yolov3-spp.pt']:
|
||||
# detect()
|
||||
# create_pretrained(opt.weights, opt.weights)
|
||||
for opt.weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt', 'yolov3-spp.pt']:
|
||||
detect()
|
||||
create_pretrained(opt.weights, opt.weights)
|
||||
Reference in new issue
Block a user