![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
zhhp1001
这个作者很懒,什么都没留下…
展开
-
InternalError: GPU sync failed
在jupyter notebook中用gpu跑神经网络时遇到这个问题,解决方法,重启ipython notebook即可。 难道因为开了太多python kernel导致gpu资源分配不处来了? 嗯...这应该是jupyter notebook特有的问题吧。...原创 2018-12-27 14:26:43 · 12316 阅读 · 4 评论 -
AttributeError: 'module' object has no attribute 'to_rgba'
import matplotlib.pyplot as plt import numpy as np x = np.arange(20) y = x**2 plt.plot(x, y) 在jupyter notebook中使用matplotlib画图出现这个错误,修正方法: sudo pip install matplotlib==2.2.0 ...原创 2018-12-26 08:46:53 · 2221 阅读 · 0 评论 -
AttributeError: '_NamespacePath' object has no attribute 'sort
在使用 from keras import optimizers 时出现该错误 修正方法: wget https://bootstrap.pypa.io/ez_setup.py -O - | python原创 2018-12-26 09:21:30 · 1818 阅读 · 1 评论