
python
zhhp1001
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
InternalError: GPU sync failed
在jupyter notebook中用gpu跑神经网络时遇到这个问题,解决方法,重启ipython notebook即可。难道因为开了太多python kernel导致gpu资源分配不处来了? 嗯...这应该是jupyter notebook特有的问题吧。...原创 2018-12-27 14:26:43 · 12497 阅读 · 4 评论 -
AttributeError: 'module' object has no attribute 'to_rgba'
import matplotlib.pyplot as pltimport numpy as npx = np.arange(20)y = x**2plt.plot(x, y)在jupyter notebook中使用matplotlib画图出现这个错误,修正方法:sudo pip install matplotlib==2.2.0 ...原创 2018-12-26 08:46:53 · 2301 阅读 · 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 · 1986 阅读 · 1 评论