Missing check of when (step+1) == len(trainset) in gradient_accumulation
animesh-007 opened this issue · comments
Animesh Gupta commented
Here in the if condition code, is check for (step+1) == len(trainset) missing?
Reference --> Reference code
Pytorch reimplementation of the Vision Transformer (An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale)
animesh-007 opened this issue · comments
Here in the if condition code, is check for (step+1) == len(trainset) missing?
Reference --> Reference code