Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def next_batch(self, plotting=False):
data_items,
) = self.get_batch()
# in case it's empty prediction
if batch_joints == None:
if batch_joints is None or batch_images is None:
continue

# Scale is sampled only once (per batch) to transform all of the images into same size.
Expand Down