LIGA-Stereo icon indicating copy to clipboard operation
LIGA-Stereo copied to clipboard

Batch size > 1 on single GPU

Open ngoductuanlhp opened this issue 3 years ago • 1 comments

First, thank you for your great work and code.

I saw in your code that you force the batch_size_per_gpu = 1. What's the reason for this config? If I want to train a larger batch size on a single GPU, which parts should I modify?

Look forward to your answer. Thanks.

ngoductuanlhp avatar Jan 19 '22 10:01 ngoductuanlhp

The 3D CNN consumes a lot of memory, it is hard to train with larger batch size. A possible solution is to reduce the number of channels or layers, but it will affect the performance.

xy-guo avatar Apr 09 '22 06:04 xy-guo