
DeepLearning
AMUMU314
这个作者很懒,什么都没留下…
展开
-
Fast.ai lesson1 解决 :NameError: name 'reload' is not defined 问题
Fast.ai lesson1 解决 :NameError: name 'reload' is not defined 问题对于 Python 2.X:对于 <= Python 3.3:对于 >= Python 3.4: 对于 Python 2.X: import utils;reload(utils) import vgg16;reload(vgg16) 对于 <= Pyt...原创 2019-01-02 20:48:47 · 720 阅读 · 0 评论 -
python错误提示:'int' object is not iterable
** python错误提示:‘int’ object is not iterable ** 解决方法:原创 2019-02-01 10:08:26 · 18767 阅读 · 1 评论 -
pip更新或安装包的时候出现错误:拒绝访问
pip更新安装包的时候出现错误,如下图所示: 解决方法是:pip install --user [要安装的包] #加上一个–user就好了原创 2019-02-01 10:13:27 · 4857 阅读 · 2 评论 -
python错误提示:TypeError: ‘numpy.float64’ object cannot be interpreted as an integer
** TypeError: ‘numpy.float64’ object cannot be interpreted as an integer ** 出现此情况的原因是plt.hist(normal_values, np.sqrt(N), normed=True, lw=1)中的np.sqrt(N)是浮点型数据,而hist要求是int型数据,所有加上int(np.sqrt(N)) ...原创 2019-02-01 10:17:19 · 21009 阅读 · 1 评论