-
Notifications
You must be signed in to change notification settings - Fork 347
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
TensorFlow doesn't support NCHW #3
Comments
when i change NCHW to NHWC in tflib/ops/conv1d.py, i get errors:
|
It looks like you are running this on a CPU. If I remember correctly, I've run into this issue with Tensorflow CNNs run on CPUs before. I've only tested this code on CUDA supported GPU devices. I don't have the bandwidth to dig into CPU support right now, especially given how slow the performance will likely be, but likely others have posted on this or a similar issue w/ tensorflow conv2D before. Good luck! |
I'm having the same problem. How do you get the code to run on a GPU? I installed tensorflow using pip and my system has several nVidia 1080 GPUs, but the code does not appear to use them. |
@mikeryan, this should do the trick:
I'll add that to the |
After installing tensorflow-gpu using PIP, I had to install the
following packages using apt-get install on Debian Squeeze (9.0):
libcublas8.0
libcusolver8.0
libcudart8.0
libcufft8.0
libcurand8.0
Additionally I had to join the NVIDIA developer program and install
"cuDNN v6.0 Runtime Library for Ubuntu16.04 (Deb)" from
https://developer.nvidia.com/rdp/cudnn-download
After doing the above, it runs well.
|
I have the same problem. The packages mikeryan mentioned are already installed on my machine with version 7.5. I installed cuDNN too but it didn't help. Any ideas? |
my tensorflow is 1.4.0
python is 2.7
The text was updated successfully, but these errors were encountered: