Rishav159/neural-network

NaN values while backpropagating

Opened this issue · 2 comments

While training the neural network, sometimes there are nan values appearing while back propagating.

you can use isnan() function to check values.
import math
if(math.isnan(x)):
break
else:
#code here

@Rishav159 I will go have a look at it.