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
Updated the container to 19.09 but I am still seeing this error:
Traceback (most recent call last): File "retinanet/convert_model.py", line 6, in <module> model.save(state=state,save_path="models/16_classes/up_included_900k_bgr.pth") File "/opt/conda/lib/python3.6/site-packages/retinanet-0.1-py3.6-linux-x86_64.egg/retinanet/model.py", line 184, in save torch.save(checkpoint, save_path) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 224, in save return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 149, in _with_file_like return body(f) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 224, in <lambda> return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 296, in _save pickler.dump(obj) File "/opt/conda/lib/python3.6/site-packages/torch/optim/optimizer.py", line 55, in __getstate__ 'defaults': self.defaults, AttributeError: 'SGD' object has no attribute 'defaults'
The text was updated successfully, but these errors were encountered:
Updated the container to 19.09 but I am still seeing this error:
Traceback (most recent call last): File "retinanet/convert_model.py", line 6, in <module> model.save(state=state,save_path="models/16_classes/up_included_900k_bgr.pth") File "/opt/conda/lib/python3.6/site-packages/retinanet-0.1-py3.6-linux-x86_64.egg/retinanet/model.py", line 184, in save torch.save(checkpoint, save_path) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 224, in save return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 149, in _with_file_like return body(f) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 224, in <lambda> return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 296, in _save pickler.dump(obj) File "/opt/conda/lib/python3.6/site-packages/torch/optim/optimizer.py", line 55, in __getstate__ 'defaults': self.defaults, AttributeError: 'SGD' object has no attribute 'defaults'
The text was updated successfully, but these errors were encountered: