Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Is there any relationship between the batch size and the number of epochs?

I am currently running a program with a batch size of 17 instead of batch size 32. The benchmark results are obtained at a batch size of 32 with the number of epochs 700. Now I am running with batch ...
0 votes
1 answer
270 views

Why should data batches in a neural network have an equal size?

Why should data batches in a neural network have an equal size? I have seen some recent research works on making the batch size dynamic, but still, I can't find an answer to my question.
0 votes
2 answers
460 views

Is it true that batch size of form $2^k$ gives better results?

I am confused among the following in selecting the batch size for my model. #1: powers of 2 I generally see that batch sizes are in powers of two: 32, 64, 128, 256. #2: maximum GPU Suppose my GPU ...