I use caffe to train my CNN but loss become nan after a few thousand iterations.
I dump the weights before that iterations and I found that some weights in the inner product layers become very large (e.g. +3e29). I check my shuffled input data and make sure they are in reasonable range.
I represent this in both GPU mode and CPU mode. Does this indicate some numeric problems in caffe or other causes?
I use caffe to train my CNN but loss become nan after a few thousand iterations.
I dump the weights before that iterations and I found that some weights in the inner product layers become very large (e.g. +3e29). I check my shuffled input data and make sure they are in reasonable range.
I represent this in both GPU mode and CPU mode. Does this indicate some numeric problems in caffe or other causes?