Thank you for this awesome repository. The code works fin for VOC 2007 dataset. However, for Crowd Person dataset, I am getting the following error during model training in DSOD_train.ipynb.
/usr/local/lib/python3.8/dist-packages/tensorflow/python/data/ops/iterator_ops.py in _next_internal(self)
729 with context.execution_mode(context.SYNC):
--> 730 ret = gen_dataset_ops.iterator_get_next(
731 self._iterator_resource,
/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_dataset_ops.py in iterator_get_next(iterator, output_types, output_shapes, name)
2578 except _core._NotOkStatusException as e:
-> 2579 _ops.raise_from_not_ok_status(e, name)
2580 except _core._FallbackException:
Thank you for this awesome repository. The code works fin for VOC 2007 dataset. However, for Crowd Person dataset, I am getting the following error during model training in DSOD_train.ipynb.
The error
UnknownError Traceback (most recent call last) /usr/local/lib/python3.8/dist-packages/tensorflow/python/eager/context.py in execution_mode(mode) 2112 ctx.executor = executor_new -> 2113 yield 2114 finally:
/usr/local/lib/python3.8/dist-packages/tensorflow/python/data/ops/iterator_ops.py in _next_internal(self) 729 with context.execution_mode(context.SYNC): --> 730 ret = gen_dataset_ops.iterator_get_next( 731 self._iterator_resource,
/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_dataset_ops.py in iterator_get_next(iterator, output_types, output_shapes, name) 2578 except _core._NotOkStatusException as e: -> 2579 _ops.raise_from_not_ok_status(e, name) 2580 except _core._FallbackException:
/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py in raise_from_not_ok_status(e, name) 6861 # pylint: disable=protected-access -> 6862 six.raise_from(core._status_to_exception(e.code, message), None) 6863 # pylint: enable=protected-access
~/.local/lib/python3.8/site-packages/six.py in raise_from(value, from_value)
UnknownError: IndexError: tuple index out of range Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/script_ops.py", line 247, in call return func(device, token, args)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/script_ops.py", line 135, in call ret = self._func(*args)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/autograph/impl/api.py", line 620, in wrapper return func(*args, **kwargs)
File "/home/user5/detection/pedestrian/ssd_detectors/ssd_data.py", line 506, in get_sample img_tmp, y_tmp = self.random_sized_crop(img, y)
File "/home/user5/detection/pedestrian/ssd_detectors/ssd_data.py", line 452, in random_sized_crop num_coords = target.shape[1] - 1
IndexError: tuple index out of range
During handling of the above exception, another exception occurred:
UnknownError Traceback (most recent call last)