neural-network-from-scratch
neural-network-from-scratch copied to clipboard
Error values always return nan
== 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