I have an error in the last line of code in the diagram:
"nn criterias don’t compute the gradient w.r.t. targets - please " 
AssertionError: nn criterions don’t compute the gradient w.r.t. targets - please mark these variables as volatile or not requiring gradients
I am a newbie. . I really don’t know what to do… Please help me.