I am implementing alexnet for pokedex challenge… i m getting same accuracy and val_acc every time, and both loss is nan, also model is predicting nan every time. I’ve tried to change the architecture of the model as well, but the same problem persists.
Code : - https://ide.codingblocks.com/s/102952
I think there is some problem with X data, because when i try to plot
plt.imshow(X[1000])
it gives a warning… and just shows random grains
Clipping input data to the valid range for imshow with RGB data ([0…1] for floats or [0…255] for integers).
C:\Users\Mohit Uniyal\Anaconda3\lib\site-packages\matplotlib\cm.py:273: RuntimeWarning: invalid value encountered in multiply
xx = (xx * 255).astype(np.uint8)
images are only working till 328