~/anaconda3/envs/classifier/lib/python3.7/site-packages/six.py in raise_from(value, from_value) > 2673 _six.raise_from(_core._status_to_exception(e.code, message), None)Ģ674 # Add nodes to the TensorFlow graph.Ģ675 if not isinstance(output_types, (list, tuple)): ~/anaconda3/envs/classifier/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_dataset_ops.py in iterator_get_next_sync(iterator, output_types, output_shapes, name) > 651 output_shapes=self._flat_output_shapes) ~/anaconda3/envs/classifier/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py in _next_internal(self)Ħ50 output_types=self._flat_output_types, ~/anaconda3/envs/classifier/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py in next(self)Ħ64 """Returns a nested structure of `Tensor`s containing the next element.""" ~/anaconda3/envs/classifier/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py in _next_(self)Ħ21 def _next_(self): # For Python 3 compatibility InvalidArgumentError Traceback (most recent call last) GPU model and memory: GeForce GTX 1050Ti Max-QĬode to reproduce the issue import tensorflow as tf.TensorFlow version (use command below): 2.0.0.TensorFlow installed from (source or binary): pip.
![tf data generator tf data generator](https://miro.medium.com/max/2030/1*BRpoi9v114DVCG_FAD6y8A.png)
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.Seems like the arguments are not passed in the right format. I have an issue when creating tf.data.Dataset with tf.() and flow_from_directory.