Untitled
unknown
plain_text
4 years ago
2.0 kB
195
Indexable
--------------------------------------------------------------------------- InvalidArgumentError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_23412/1211581277.py in <module> 4 5 plt.figure(figsize=(10, 10)) ----> 6 for images, labels in val_ds.take(1): 7 for i in range(30): 8 ax = plt.subplot(5, 7, i + 1) ~\Anaconda3\envs\tf_cpu\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in __next__(self) 759 def __next__(self): 760 try: --> 761 return self._next_internal() 762 except errors.OutOfRangeError: 763 raise StopIteration ~\Anaconda3\envs\tf_cpu\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in _next_internal(self) 742 # to communicate that there is no more data to iterate over. 743 with context.execution_mode(context.SYNC): --> 744 ret = gen_dataset_ops.iterator_get_next( 745 self._iterator_resource, 746 output_types=self._flat_output_types, ~\Anaconda3\envs\tf_cpu\lib\site-packages\tensorflow\python\ops\gen_dataset_ops.py in iterator_get_next(iterator, output_types, output_shapes, name) 2725 return _result 2726 except _core._NotOkStatusException as e: -> 2727 _ops.raise_from_not_ok_status(e, name) 2728 except _core._FallbackException: 2729 pass ~\Anaconda3\envs\tf_cpu\lib\site-packages\tensorflow\python\framework\ops.py in raise_from_not_ok_status(e, name) 6895 message = e.message + (" name: " + name if name is not None else "") 6896 # pylint: disable=protected-access -> 6897 six.raise_from(core._status_to_exception(e.code, message), None) 6898 # pylint: enable=protected-access 6899 ~\AppData\Roaming\Python\Python39\site-packages\six.py in raise_from(value, from_value) InvalidArgumentError: Input is empty. [[{{node decode_image/DecodeImage}}]] [Op:IteratorGetNext] <Figure size 720x720 with 0 Axes>
Editor is loading...