tensorflow
amberkid
这个作者很懒,什么都没留下…
展开
-
tensorflow1.X出现FutureWarning: Passing (type, 1) or ‘1type‘ is deprecated
问题描述:import tensorflow,出现 FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type’的报错信息。问题原因:numpy版本过高。解决方式:(1)卸载高版本numpy。pip uninstall numpy(2)原创 2020-08-10 10:10:55 · 681 阅读 · 0 评论 -
TensorFlow2.2的No module named‘tensorflow.examples.tutorials’问题
TensorFlow2.2的No module named 'tensorflow.examples.tutorials’问题TensorFlow1.X和2.X在使用上存在很多不同,作为一名小白,先解决上述遇到的问题,原理和框架上的差异等摸清楚了再分享。from tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("./mnist/", one_hot=True)采用Tenso原创 2020-08-08 19:09:46 · 678 阅读 · 0 评论