tensorflo
han-shuo
这个作者很懒,什么都没留下…
展开
-
tensorflow中feed_dict相关问题
问题说明:对于image_batch进行feed_dict,结果一直报错:TypeError: The value of a feed cannot be a tf.Tensor object. Acceptable feed values include Python scalars, strings, lists, numpy ndarrays, or TensorHandles.Fo...原创 2018-09-29 18:45:34 · 1787 阅读 · 1 评论 -
saver.restore bug解决
问题:运行saver.restore()报错InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [320330] rhs shape= [320335]分析:saver.restore(sess,ckpt_name)自动加载ckpt中保存的graph和参数,加载参数时,自...原创 2018-11-04 17:19:44 · 1459 阅读 · 0 评论