Could you post the code snippet, which prints:
Loss_avg: nan, Loss: nan, LR: 1e-05: 100%

I cannot find anything obviously wrong in your current code snippet and the output also seems to return valid values.