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
error occurs in this line of code:
predictor = DefaultPredictor(cfg)
the error report is as followsL
/usr/local/lib/python3.7/dist-packages/detectron2/checkpoint/detection_checkpoint.py in _load_file(self, filename)
87
88 loaded = super()._load_file(filename) # load native pth checkpoint
---> 89 if "model" not in loaded:
90 loaded = {"model": loaded}
91 return loaded
TypeError: argument of type 'GeneralizedRCNN' is not iterable
Thanks.
The text was updated successfully, but these errors were encountered:
error occurs in this line of code:
predictor = DefaultPredictor(cfg)
the error report is as followsL
/usr/local/lib/python3.7/dist-packages/detectron2/checkpoint/detection_checkpoint.py in _load_file(self, filename)
87
88 loaded = super()._load_file(filename) # load native pth checkpoint
---> 89 if "model" not in loaded:
90 loaded = {"model": loaded}
91 return loaded
TypeError: argument of type 'GeneralizedRCNN' is not iterable
Thanks.
The text was updated successfully, but these errors were encountered: