Loading

错误杂项

** OSError: [WinError 126] 找不到指定的模块 **
原因:This is most probably because you are using a CUDA variant of PyTorch on a system that doesn’t have GPU driver installed. That is to say, if you don’t have a Nvidia GPU card, please install the cpu-only package according to the commands on https://pytorch.org.
解决方法:pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

** FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type **
原因:numpy版本问题
解决方法:pip install numpy==1.16.4

posted @ 2021-01-14 16:19  Guang'Jun  阅读(83)  评论(0编辑  收藏  举报