Skip to content
Snippets Groups Projects
Commit dca7cabc authored by Harald Scheidl's avatar Harald Scheidl
Browse files

use correct batch size

parent 3507e59d
Branches
No related tags found
No related merge requests found
......@@ -120,4 +120,4 @@ class DataLoaderIAM:
gt_texts = [self.samples[i].gt_text for i in batch_range]
self.curr_idx += self.batch_size
return Batch(imgs, gt_texts, self.batch_size)
return Batch(imgs, gt_texts, len(imgs))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment