JianqiangWan / Super-BPD

Super-BPD: Super Boundary-to-Pixel Direction for Fast Image Segmentation (CVPR 2020)
Apache License 2.0
200 stars 37 forks source link

Why batchsize is 1 by default #6

Open darknli opened 4 years ago

darknli commented 4 years ago

Thank you for your code! We know that generally larger batchsize is more beneficial to the result,I have seen that the batchsize of many open source code for split tasks is set to 1 by default, but why?Looking forward to your reply!

JianqiangWan commented 3 years ago

Performance is good when the batchsize is set to 1, larger may be better, but you need to pad the input image to a uniform size to form a larger batch.