Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

value nan in loss #42

Open
lunaprof19 opened this issue Nov 1, 2019 · 1 comment
Open

value nan in loss #42

lunaprof19 opened this issue Nov 1, 2019 · 1 comment

Comments

@lunaprof19
Copy link

Hi!

I change lines in driving_data.py for version compatibility:

-#x_out.append(scipy.misc.imresize(scipy.misc.imread(train_xs[(train_batch_pointer + i) % num_train_images])[-150:], [66, 200]) / 255.0)

+imagen=imageio.imread(train_xs[(train_batch_pointer + i) % num_train_images])
+retamaño2=numpy.array(Image.fromarray(imagen[-150:]).resize([200, 66]))/255
+x_out.append(retamaño2)

But when execute show Loss=nan for all epochs ->Epoch: 0, Step: 0, Loss: nan

Can you help me?
thanks

@saproovarun
Copy link

Try keep_ratio value with 0.8 instead of 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants