Error prompt:
TypeError: Expected int32, got list containing Tensors of type ‘_ Message’ instead.
Error Description:
Follow the prompts to know a line of concat related code in the code.
This is due to an error in the tensorflow version.
In the API of tensorflow Version (0. X) before 1.0, the parameters of concat are numbers first and tensors second
tf.concat(3, net, name=name)
In the API after tensorflow 1.0, the parameters of concat are tensors first and numbers second
tf.concat(net, 3, name=name)
Because the reference code may be running different tensorflow version from the native version, there is a problem.
Solution:
Find the corresponding code line according to the error prompt, and change the order of concat parameters to run successfully.
copyright: http://blog.csdn.net/cloudox_
Reference: http://blog.csdn.net/zcf1784266476/article/details/71248799
Read More:
- Caused by: java.net.SocketException : connection reset or caused by: java.sql.SQLRecoverableException solve
- (Caused by SSLError(SSLError(1, ‘[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)‘)))
- SQL query time group_ Was cut by group_ CONCAT()
- Tensorflow installation and uninstall (Anaconda version)
- Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
- Record a problem of no module named ‘tensorflow. Examples’ and’ tensorflow. Examples. Tutorials’ in tensorflow 2.0
- The solution of flicker and no refresh caused by OpenGL + MFC
- Using pip to install tensorflow: tensorflow — is not a supported wheel on this platform
- Several problems caused by device encryption
- android Caused by: java.util.ConcurrentModificationException
- Two kinds of errors caused by root / lack of execution permission x
- Caused by: java.io.IOException: APR error: -730053
- Error message caused by browser plug-in
- Caused by: java.lang.reflect.InvocationTargetExceptio
- Tensorflow error: module ‘tensorflow’ has no attribute ‘xxx’
- Solve the problem caused by: java.sql.SQLRecoverableException : IO error: connection reset related problems
- Chunkloaderror caused by deleteoriginalassets: loading chunk * failed error
- Caused by: org.apache.catalina.LifecycleException: A child container failed during start
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect