I implemented the code with some other source codes,Im sure that the parts are right beacase i checkd them Independently,but i got the same nan loss as you,when trained 100 iters about,the loss became bigger and bigger and ended with an err,have you found the reason yourself?
I implemented the code with some other source codes,Im sure that the parts are right beacase i checkd them Independently,but i got the same nan loss as you,when trained 100 iters about,the loss became bigger and bigger and ended with an err,have you found the reason yourself?