TypeError: Value passed to parameter 'targets' has DataType float32 not in list of allowed values: i
2017-08-18 23:46
537 查看
程序报错:
解决办法:
改为:
label_holder = tf.placeholder(tf.int32,[batch_size])
解决办法:
label_holder = tf.placeholder(tf.float32,[batch_size])
改为:
label_holder = tf.placeholder(tf.int32,[batch_size])
相关文章推荐
- TypeError: Value passed to parameter 'input' has DataType float64 not in list of allowed values: fl
- Duplicate range boundary values are not allowed in partition function boundary value list.
- TypeError: view must be a callable or a list/tuple in the case of include()
- ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregate
- TypeError: view must be a callable or a list/tuple in the case of include()
- Error: The version of SQL Server in use does not support datatype 'datetime2'
- TypeError: view must be a callable or a list/tuple in the case of include().
- ERROR: The version of SQL Server in use does not support datatype 'datetime2'.
- R12: How to add Microsoft Excel as Type to the Create Template List of Values in BI Publisher (Doc ID 1343225.1)
- TypeError: view must be a callable or a list/tuple in the case of include().解决办法
- Appium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks
- Error: The version of SQL Server in use does not support datatype 'datetime2
- TypeError: view must be a callable or a list/tuple in the case of include()
- SQL Error:An aggregate may not appear in the set list of an UPDATE statement.
- org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog.
- Error:Could not get unknown property ‘apkVariantData’ for object of type com.android.build.gradle.in
- 20100507 学习记录: Server Error in '/' Application. Object reference not set to an instance of an object
- iOS之整型转换警告Values of type 'NSInteger' should not be used as format arguments;
- FRM-41009: Function key not allowed. Press %s for list of valid keys
- shared_ptr.hpp(321) : error C2039: 'type_info' : is not a member of 'std' 错误修正