Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
Signed-off-by: ksztenderski <ksztenderski@nvidia.com>
  • Loading branch information
ksztenderski committed Mar 30, 2022
1 parent aa0da7f commit ea94e0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dali/python/nvidia/dali/_debug_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,7 @@ def run(self):
if isinstance(val, DataNodeDebug):
outputs.append(val.get())
elif isinstance(val, (list, tuple)):
raise TypeError(f'Illegal pipeline output type. The output {i} contains a nested'
' `DataNodeDebug`')
raise TypeError(f'Illegal pipeline output type. The output {i} contains a nested `DataNodeDebug`')
else:
outputs.append(_tensors.TensorListCPU(
np.tile(val, (self._max_batch_size, *[1]*np.array(val).ndim))))
Expand Down

0 comments on commit ea94e0e

Please sign in to comment.