I am getting following error message when executing a python project in Jupiter using Tensorflow version 1.15.2 on Mac OS. Please suggest me any solution for this error.
"ValueError: Tried to convert 'input' to a tensor and failed. Error: None values not supported."
ValueError Traceback (most recent call last)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/op_def_library.py in _apply_op_helper(self, op_type_name, name, **keywords)
527 as_ref=input_arg.is_ref,
--> 528 preferred_dtype=default_dtype)
529 except TypeError as err:
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py in internal_convert_to_tensor(value, dtype, name, as_ref, preferred_dtype, ctx, accepted_result_types)
1296 if ret is None:
-> 1297 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
1298
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in _constant_tensor_conversion_function(v, dtype, name, as_ref)
Hi,
I am getting following error message when executing a python project in Jupiter using Tensorflow version 1.15.2 on Mac OS. Please suggest me any solution for this error.
"ValueError: Tried to convert 'input' to a tensor and failed. Error: None values not supported."
ValueError Traceback (most recent call last)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/op_def_library.py in _apply_op_helper(self, op_type_name, name, **keywords)
--> 528 preferred_dtype=default_dtype)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py in internal_convert_to_tensor(value, dtype, name, as_ref, preferred_dtype, ctx, accepted_result_types)
1296 if ret is None:
-> 1297 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
1298
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in _constant_tensor_conversion_function(v, dtype, name, as_ref)
--> 286 return constant(v, dtype=dtype, name=name)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in constant(value, dtype, shape, name)
--> 227 allow_broadcast=True)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in _constant_impl(value, dtype, shape, name, verify_shape, allow_broadcast)
--> 265 allow_broadcast=allow_broadcast))
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/tensor_util.py in make_tensor_proto(values, dtype, shape, verify_shape, allow_broadcast)
--> 437 raise ValueError("None values not supported.")
ValueError: None values not supported.
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/op_def_library.py in _apply_op_helper(self, op_type_name, name, **keywords)
--> 542 values, as_ref=input_arg.is_ref).dtype.name
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py in internal_convert_to_tensor(value, dtype, name, as_ref, preferred_dtype, ctx, accepted_result_types)
1296 if ret is None:
-> 1297 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
1298
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in _constant_tensor_conversion_function(v, dtype, name, as_ref)
--> 286 return constant(v, dtype=dtype, name=name)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in constant(value, dtype, shape, name)
--> 227 allow_broadcast=True)
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/constant_op.py in _constant_impl(value, dtype, shape, name, verify_shape, allow_broadcast)
--> 265 allow_broadcast=allow_broadcast))
/anaconda3/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/tensor_util.py in make_tensor_proto(values, dtype, shape, verify_shape, allow_broadcast)
--> 437 raise ValueError("None values not supported.")
ValueError: None values not supported.
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)