学习笔记
「已注销」
这个作者很懒,什么都没留下…
展开
-
python中 x, = x
python中 x, = xx1 = [1,2,3] #x1可以是任意值x = [x1, ]x, = xprint(x) #打印内容就是x1原创 2019-11-12 09:19:21 · 1374 阅读 · 0 评论 -
屏蔽TensorFlow版本过期导致的警告
屏蔽TensorFlow版本过期导致的警告学习TensorFlow的时候,好多资料都是描述的早期版本;当使用新版本TensorFlow时,会有很多WORNING信息。这些信息不是python的警告信息,所以:# 这种方法无法屏蔽TensorFlow中的版本过期的打印信息import warnings warnings.filterwarnings("ignore")以上方法屏蔽的是py...原创 2019-11-01 17:31:15 · 445 阅读 · 0 评论 -
AttributeError: module ‘scipy.misc’ has no attribute 'toimage’报错
python;tensorflow;mnist;原创 2019-11-01 16:11:13 · 156 阅读 · 0 评论