1,RuntimeError: result type Float can‘t be cast to the desired output type __int64
这个问题的解决办法直接在utils/loss.py的167行改为
gain = torch.ones(7, device=targets.device).long()
2,ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘d:\anaconda3\envs\pytorch\lib\site-packages\numpy
这个问题我只直接找到相应位置删除了包之后,再重新安装就好了