![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
TensorFlow
TensorFlow使用记录
BurningSilence
这个作者很懒,什么都没留下…
展开
-
TensorLow FailedPreconditionErrorAttempting to use uninitialized value Variable
问题: FailedPreconditionError (see above for traceback): Attempting to use uninitialized value Variable [[Node: Variable/read = Identity[T=DT_FLOAT, _class=["loc:@Variable"], _device="/job:localhost/replica:0/task:0/cpu:0"](Variable)]] 出处: constant_e = tf.V原创 2020-08-21 13:47:43 · 336 阅读 · 0 评论 -
keras加载MNIST数据集方法
由于公司网络限制,因此使用keras自带的MNIST数据集加载方法 (x_train, y_train),(x_test, y_test) = mnist.load_data() [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-wfZ8ZWkV-1597969181862)(data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==)] 是不可行的,所以只能另辟蹊径。 第原创 2020-08-21 08:20:37 · 1122 阅读 · 0 评论