Enter dataset size and batch size to get the number of iterations per epoch, and sanity-check your training loop configuration.
最后一批可能不满。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Steps per epoch | steps per epoch = ceil(samples / batch size) | Deep learning practice |
| Total steps | total updates = steps per epoch x epochs | Deep learning practice |
| Learning rate scaling | scaling the batch by k usually scales the learning rate too | Linear scaling rule |