UPSNet icon indicating copy to clipboard operation
UPSNet copied to clipboard

batch_size per gpu is limited to 1

Open ginobilinie opened this issue 4 years ago • 0 comments

I have tried to use this copy of code, however, I found the batch_size per GPU is limited 1. It is limited by the following codes in base_dataset.py:

        elif key == 'roidb':
            assert len(batch) == 1
            blob.update({'roidb': batch[0]['roidb']})

I'm asking how I can remove the limit.

Thanks.

ginobilinie avatar May 13 '20 02:05 ginobilinie