simplest_FasterRcnn_pytorch
simplest_FasterRcnn_pytorch copied to clipboard
TypeError: __init__() got an unexpected keyword argument 'pretrained'
dear,when i run the test.py, has the problem as follow:
Connected to pydev debugger (build 182.4505.26)
Traceback (most recent call last):
File "/home/yjs/Downloads/pycharm/helpers/pydev/pydevd.py", line 1664, in
@yuanjinsheng sorry,I didn't met the problem, and base on it's source code on github(https://github.com/pytorch/vision/blob/master/torchvision/models/vgg.py), it has the argument 'pretrained' try upgrade your torchvision? btw, here have some bugs in this code which means it can't predict accurately, I am still modifying it.
@Kyle1993 thank you for your answer. i have upgrade the torchvision now, and there is no problem.