Your current code in the repo was updated, right?
At least that’s not the local copy I have.
Currently you are accumulating the gradients in the train function 6.
I’ll pull again and try to run your code. The last time I still had size mismatch errors.