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

not working on gpu ;( #24

Closed
orlov-alexander opened this issue Jun 2, 2017 · 1 comment
Closed

not working on gpu ;( #24

orlov-alexander opened this issue Jun 2, 2017 · 1 comment

Comments

@orlov-alexander
Copy link

Hello!

I'm trying to use your model on gpu. On cpu it works flawless, but then I try to use it on gpu - it doesn't work.

Error traceback, in short:

InvalidArgumentError (see above for traceback): Cannot assign a device to node 'save/SaveV2': Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.

[[Node: save/SaveV2 = SaveV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT.....
_device="/device:GPU:0"](save/Const, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, InceptionV3/Conv2d_1a_3x3/BatchNorm/beta, InceptionV3/Conv2d_1a_3x3/BatchNorm/moving_mean, InceptionV3/Conv2d_1a_3x3/BatchNorm/moving_variance, InceptionV3/Conv2d_1a_3x3/weights,

Full traceback and installed python libraries can be seen at https://pastebin.com/aR5CX3eG

I'm using Ubuntu 16.04.1 LTS on a p2.xlarge AWS instance with Tesla K80.

Any ideas why it doesn't work?

@dpressel
Copy link
Owner

dpressel commented Jun 2, 2017

I believe the change below fixes this issue:

8a8c123

It works for me.

See also:

tensorflow/tensorflow#2292
tensorflow/tensorflow#2285

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