You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jetson@yahboom:~/yolov5$ python3 gen_wts.py -w new.pt
Traceback (most recent call last):
File "gen_wts.py", line 33, in
model = torch.load(pt_file, map_location=device)
File "/home/jetson/.local/lib/python3.6/site-packages/torch/serialization.py", line 592, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/home/jetson/.local/lib/python3.6/site-packages/torch/serialization.py", line 851, in _load
result = unpickler.load()
AttributeError: Can't get attribute 'DetectionModel' on <module 'models.yolo' from '/home/jetson/yolov5/models/yolo.py'>
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
jetson@yahboom:~/yolov5$ python3 gen_wts.py -w new.pt
Traceback (most recent call last):
File "gen_wts.py", line 33, in
model = torch.load(pt_file, map_location=device)
File "/home/jetson/.local/lib/python3.6/site-packages/torch/serialization.py", line 592, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/home/jetson/.local/lib/python3.6/site-packages/torch/serialization.py", line 851, in _load
result = unpickler.load()
AttributeError: Can't get attribute 'DetectionModel' on <module 'models.yolo' from '/home/jetson/yolov5/models/yolo.py'>
The text was updated successfully, but these errors were encountered: