![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
CAMlive
炼丹术士
展开
-
ModuleNotFoundError: No module named ‘scipy._lib.six‘
ModuleNotFoundError: No module named ‘scipy._lib.six’报错解决方法win+R 打开cmdactivate envspip uninstall scipypip install scipy原创 2022-03-03 19:19:58 · 3063 阅读 · 0 评论 -
RuntimeError: cudnn RNN backward can only be called in training mode
RuntimeError: cudnn RNN backward can only be called in training mode1 没有用 ‘.train()’ ,有些操作在 ‘.eval()’ 时是被禁止的2 在使用lstm时报的错,加一行下面的代码就可以了torch.backends.cudnn.enabled = False原创 2021-08-27 07:46:22 · 675 阅读 · 3 评论 -
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。解决方法我是在安装pyqt5时报错的,可能是用了镜像网站的原因pip --user -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn 安装的模块推荐几个镜像网站阿里云镜像:https://mirrors.aliyun.c原创 2021-02-14 22:23:05 · 91 阅读 · 0 评论 -
Lingo报错:variables may not share name with other variables
**Lingo报错: variables may not share name with other variables两种情况:一:在集合里定义过一个变量了,之后又错误地使用这个变量eg:model:sets:kun/1…14/;dc/1…8/:d,shuliang;a(kun,dc):i,x; !这里又一个 两重的 iendsetsdata:d=3 3.5 4 4.5 5 5.5 6 6.5;shuliang=43 59 39 41 27 28 34 21;enddata原创 2020-08-18 23:43:08 · 6646 阅读 · 2 评论