furkanbiten/GoodNews

’batch_ids‘ in dataloader.py's get_batch()

Opened this issue · 0 comments

Hello, I've been studying dataloader.py recently, and I have a question about line 260 in your code: self.info['images'][i]['id']. I don't understand it and feel like it doesn't contribute to shuffling. Why is 'i' used instead of 'b_id'? Thank you for taking the time to review and explain!