glenn-jocher
commited on
Commit
•
5323ad2
1
Parent(s):
a62a1c2
export.py update
Browse files
detect.py
CHANGED
@@ -156,9 +156,9 @@ if __name__ == '__main__':
|
|
156 |
print(opt)
|
157 |
|
158 |
with torch.no_grad():
|
159 |
-
|
160 |
|
161 |
-
# Update all models
|
162 |
-
for opt.weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt', 'yolov3-spp.pt']:
|
163 |
-
|
164 |
-
|
|
|
156 |
print(opt)
|
157 |
|
158 |
with torch.no_grad():
|
159 |
+
detect()
|
160 |
|
161 |
+
# # Update all models
|
162 |
+
# for opt.weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt', 'yolov3-spp.pt']:
|
163 |
+
# detect()
|
164 |
+
# create_pretrained(opt.weights, opt.weights)
|