Open Stephenfang51 opened 11 months ago
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
Can't get attribute 'SPPF' on <module 'models.common' from when
model = torch.load('yolov5m.pt', map_location='cpu')['model']