module 'torch.jit' has no attribute 'unused'

module 'torch.jit' has no attribute 'unused'

解决方法:安装新版torch:

pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
发布了2732 篇原创文章 · 获赞 1011 · 访问量 538万+

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/104783579