How to accumulate gradient for semantic segmentation using fastai v2? I am training a model for steel defects detection and can’t create batches larger than 2 images during the experimentation. I will greatly appreciate if someone can point me to some code implementation.
Thanks a lot @muellerzr. All I have to do is to use cbs=GradientAccumulation(n_acc=24) in the learner specification. It is very useful information. Cool.