TypeError: Value passed to parameter 'input' has DataType float64 not in list of allowed values: fl
2017-07-20 08:01
821 查看
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 590, in apply_op param_name=input_name) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 61, in _SatisfiesTypeConstraint
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))TypeError: Value passed to parameter 'input' has DataType float64 not in list of allowed values: float32, float16
images=tf.image.convert_image_dtype(images,tf.float32)
", ".join(dtypes.as_dtype(x).name for x in allowed_list)))TypeError: Value passed to parameter 'input' has DataType float64 not in list of allowed values: float32, float16
images=tf.image.convert_image_dtype(images,tf.float32)
相关文章推荐
- TypeError: Value passed to parameter 'targets' has DataType float32 not in list of allowed values: i
- Duplicate range boundary values are not allowed in partition function boundary value list.
- R12: How to add Microsoft Excel as Type to the Create Template List of Values in BI Publisher (Doc ID 1343225.1)
- Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node 解决办法
- Xcode 报错: value of type InerfaceController does not conform to HKWorkoutSessionDelegate in assignmen
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."
- How to solve 'object of abstract class type "newFoo" is not allowed'?
- Error (-17998): Failed to get [param not passed in call] thread TLS entry
- 20100507 学习记录: Server Error in '/' Application. Object reference not set to an instance of an object
- How to set user-defined-type as Oracle SP input parameter in .NET
- Error: The version of SQL Server in use does not support datatype 'datetime2
- PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the Eve
- method to solve the problem : Could not cast value of type 'NSManagedObject_ to
- caffe CMAKE Error Variables set to NOTFOUND in Installation of Caffe HDF5_hdf5_cpp_Library linked
- keil(MDK)中出现error: #513: a value of type "int" cannot be assigned to an entity of type "char *",即函数返
- The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List
- Error 28905.WiDbLoc:Could not list of fields to localize from the database
- How to set user-defined-type as Oracle SP input parameter in .NET
- TypeError: view must be a callable or a list/tuple in the case of include().
- 'ddlCities' has a SelectedValue which is invalid because it does not exist in the list of items