tensorflow.python.framework.errors.InvalidArgumentError: Input to reshape is a tensor with xxx value
来源:互联网 发布:算法导论是c语言 编辑:程序博客网 时间:2024/05/17 21:39
今天被这个错误折磨得死去活来的,怎么修改都没有找到问题的症结所在:
在stack overflow上查看一下原因,发现是:
The mistake was very simple. I found that I should set 'VALID', not 'SAME' in conv2 so that I can make 12, 12, 32 shape before flatting operation. Thank you turtle to help me out.
这个是到哪里修改呢?还是不知。
另外一个参考:
he error tensorflow.python.framework.errors.InvalidArgumentError: Input to reshape is a tensor with 6400 values, but the requested shape requires a multiple of 3840 suggests that the input tensor of tf.reshape() in line 20 has a number of values that is not a multiple of 3840.That's because tensor l1 isn't defined within function model (you might have used it earlier and it might have 6400 values). You probably want to set l1=layer1. Note that tensor l4 isn't defined in function model either.
0 0
- tensorflow.python.framework.errors.InvalidArgumentError: Input to reshape is a tensor with xxx value
- errors_impl.InvalidArgumentError: Input to reshape is a tensor
- 【tensorflow】Input to reshape is a tensor with xxx values, but the requested shape requires a multipl
- 关于input to reshape is a tensor 的问题
- 报tensorflow.python.framework.errors.InvalidArgumentError:Node'save/restore_slice_2':错误的解决方案
- tensowflow报错tensorflow.python.framework.errors_impl.InvalidArgumentError<exception str
- TensorBoard报错:InvalidArgumentError: You must feed a value for placeholder tensor 'inputs/x_input' wi
- tensorflow:如何将tensor A 的形状reshape为tensor b 的形状
- TensorFlow使用next_batch()读取/tensorflow.python.framework.errors_impl.InvalidArgumentError: Expect 3 fi
- Tensorflow报错tensorflow.python.framework.errors_impl.InvalidArgumentError exception str() failed原因
- usr/bin/ld: i386 architecture of input file XXX.a( xxx.o) is incompatible with i386:x86-64 output
- "Host 'xxx.xxx.xxx.xx' is blocked because of many connection errors; unblock with 'mysqladmin flush-
- xxx contains a file system with errors, check forced解决方法
- TensorFlow的图像预处理报错ValueError: Tried to convert ‘min_object_covered’ to a tensor and failed.
- The environment variable JAVA_HOME(with the value of xxx) does not point to a valid JVM installation
- TensorFlow: How to freeze a model and serve it with a python API
- Analyze提示:Value stored to "xxx"is never read
- linq insert The null value cannot be assigned to a member with type System.Int64 which is a non-null
- 2017.4.24 聪明的质检员 思考记录
- (ssl2305)P2722 竞赛总分
- TCP与UDP收发的时候TCP有缓冲区还是UDP有缓冲区,使用它们时该注意什么?
- 正则表达式的特殊符号和限定符
- leetcode516. Longest Palindromic Subsequence
- tensorflow.python.framework.errors.InvalidArgumentError: Input to reshape is a tensor with xxx value
- 正则表达式与文本处理类命令
- SOCKET网络编程——服务器端
- C++知识点
- (自学收获)纯css网页小部件--轮播图效果
- poj 3261 Milk Patterns(后缀数组,二分)
- RecyclerView条目复用导致混乱的解决方案之一
- Linux操作系统概述
- C#的动态类型ExpandoObject和DynamicObject