wkdgnsgo

Results comments of wkdgnsgo

Actually it affects training. If you using grad accumulation, you MUST put zero_grad after opt.step() You can run simple experiments: import torch import torch.nn as nn from torch.utils.data import DataLoader,...

I will close this issue myself. I have solved this by updating Pytorch version from 1.08 to 1.11