InsightFace-tensorflow icon indicating copy to clipboard operation
InsightFace-tensorflow copied to clipboard

Why do you have configurations of different batch sizes?

Open BruceDai003 opened this issue 5 years ago • 1 comments

I saw that in your configure files, you have batch size of 100, 200, 128, 256. Does this affect how I use this model to do inference? Do I have to pad my image data, e.g., 1 image to 100 images in order to do inference?

Besides, why do you choose batch size of 100, 200, not multiples of 2? Just because of conveniences?

BruceDai003 avatar Jul 01 '19 09:07 BruceDai003

@BruceDai003 Batch size in configure files are mainly used when training the model. For inference, any batch size is ok.

luckycallor avatar Jul 25 '19 02:07 luckycallor