We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get attribute 'SPPF' on <module 'models.common' from when model = torch.load('yolov5m.pt', map_location='cpu')['model']
model = torch.load('yolov5m.pt', map_location='cpu')['model']
The text was updated successfully, but these errors were encountered:
I think you must install torch stable version. For example, if you use torch==1.7.0
pip install torch==1.7.0+cu110 torchvision==0.8.0+cu110 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
Sorry, something went wrong.
No branches or pull requests
Can't get attribute 'SPPF' on <module 'models.common' from
when
model = torch.load('yolov5m.pt', map_location='cpu')['model']
The text was updated successfully, but these errors were encountered: