NaN values while backpropagating
Opened this issue · 2 comments
Rishav159 commented
While training the neural network, sometimes there are nan values appearing while back propagating.
oktaysabak commented
you can use isnan() function to check values.
import math
if(math.isnan(x)):
break
else:
#code here
ivanyschen commented
@Rishav159 I will go have a look at it.