PytorchInsight
PytorchInsight copied to clipboard
got an unexpected keyword argument 'img_scale'
When I was running the python tools/test.py script, I encountered the following error. How can I solve it? Thanks!
$ python tools/test.py local_configs/cascade_rcnn_r50_fpn_20e.py checkpoints/cascade_rcnn_fpn_20e_old_resnet50.pth
Traceback (most recent call last):
File "tools/test.py", line 127, in
When I was running this code, I encountered the following error. How can I solve it? Thanks! RuntimeError: Error(s) in loading state_dict for ResNet: Unexpected key(s) in state_dict: "epoch", "state_dict", "acc", "best_acc", "optimizer".