Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jkiesele committed Nov 7, 2024
1 parent d91abfe commit 4fa0201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/djcdata/dataPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def feedNumpyData(self):
out = (xout,yout,wout)
yield out
except Exception as e:
print("TrainDataGenerator: an exception was raised in batch",b," out of ", self.getNBatches(),', expection: ', e, 'this can happen if the file list is shuffled but prepareNextEpoch was not called')
print("TrainDataGenerator: an exception was raised in batch",b," out of ", self.getNBatches(),', expection: ', e,
'this can happen if the file list is shuffled but prepareNextEpoch was not called')
raise e
# Exhaust without explicit StopIteration

Expand Down

0 comments on commit 4fa0201

Please sign in to comment.