Closed Becmamba closed 5 years ago
If you use ShanghaiTech A to train the model, the batch size must be 1 since the images have different resolution. If use ShanghaiTech B , you can set arbitrary batch_size. A bigger batch_size can accelerate convergence.
Since the amount of data is not so big, 300, can I set batch_size bigger?