转载自:(72条消息) (完全解决)Key already registered with the same priority: GroupSpatialSoftmax_音程的博客-CSDN博客
历经三天终于解决了jupyter导入torch时内核挂掉的问题。
看了网上的文章,试了很多种方法都没用,比如:内存太大等都没用。
心态搞崩的时候在虚拟环境中导入torch时提示了一个新的错误:Key already registered with the same priority: GroupSpatialSoftmax
在博主的文章中看到jupyter挂掉可能是torch反复安装又删除的问题,就跟着博主的步骤删除并重新安装,最后一步安装使用的命令是:
conda install -c https://conda.anaconda.org/pytorch torchvision(参考文章: (72条消息) PackagesNotFoundError: The following packages are not available from current channels 解决办法_marleylee的博客-CSDN博客)
抱着试一试的心态,跑回jupyter运行import torch终于成功了!!!