转自: https://blog.csdn.net/jacke121/article/details/78833922 has invalid type <class 'numpy.ndarray'>, must be a string or Tensor. (Can not convert a ndarray into a Tensor or Operation.) 原因:变量命名重复了 image_test, label_test = get_batch(x_val, y_val, w,…
解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecate 2019-08-13 19:51:37 涵小呆 阅读数 15679更多 分类专栏: tensorflow 版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/BigDream123/arti…