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

Getting Nan everywhere #74

Open
SavvaI opened this issue Jul 1, 2017 · 4 comments
Open

Getting Nan everywhere #74

SavvaI opened this issue Jul 1, 2017 · 4 comments

Comments

@SavvaI
Copy link

SavvaI commented Jul 1, 2017

Hello,
I literally followed this guide from end to end https://www.codeplay.com/portal/03-30-17-setting-up-tensorflow-with-opencl-using-sycl , and it kinda worked, (i tested multiplying small matrices) but when i run any of tensorflow examples ( https://github.com/aymericdamien/TensorFlow-Examples ) i am getting Nan in training loss everywhere, also batch computation time is very long.
I have AMD Radeon R9 290, ubuntu 14.04

@rodburns
Copy link

rodburns commented Jul 3, 2017

The latest guide docs are here https://www.codeplay.com/products/computesuite/computecpp/guides/how-to-setup-tensorflow-with-computecpp and you would be better trying the branch at https://github.com/lukeiwanski/tensorflow.git which has the latest code base.

@SavvaI
Copy link
Author

SavvaI commented Jul 6, 2017

I tried that guide and it didn't help. Executing mnist example from the guide works, but i get 263ms batch time comparing with 157ms when working on CPU

@rodburns
Copy link

rodburns commented Jul 6, 2017

That is not unexpected at the moment, we are adding vectorization which optimizes the implementation. This is being prepared as a pull request and will be available soon.

@SavvaI
Copy link
Author

SavvaI commented Jul 7, 2017

Ok. Thank you for reply.

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