neural-network-from-scratch icon indicating copy to clipboard operation
neural-network-from-scratch copied to clipboard

Error values always return nan

Open dikshantsagar opened this issue 6 years ago • 0 comments

== EPOCH: 1 / 5 == Training with 2001 / 60000 /Users/dikshant/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:101: RuntimeWarning: divide by zero encountered in log /Users/dikshant/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:101: RuntimeWarning: invalid value encountered in multiply Training with 59951 / 60000/ 60000 Error: nan == EPOCH: 2 / 5 == Training with 59951 / 60000 / 6000060000 Error: nan == EPOCH: 3 / 5 == Training with 59951 / 60000 Error: nan == EPOCH: 4 / 5 == Training with 59951 / 600001551 / 60000 Error: nan == EPOCH: 5 / 5 == Training with 59951 / 60000 Error: nan

this is the output on a run on tensorflow's version of mnist

dikshantsagar avatar Nov 13 '19 06:11 dikshantsagar