luminoth icon indicating copy to clipboard operation
luminoth copied to clipboard

Luminoth does not recognize tensorflow-gpu installation

Open rinkstiekema opened this issue 6 years ago • 12 comments
trafficstars

I have installed tensorflow-gpu (1.12.0) and luminoth (0.2.3) via pip. I get the following message:

Luminoth requires a TensorFlow >= 1.5 installation.

Depending on your use case, you should install either tensorflow or tensorflow-gpu packages manually or via PyPI.

How do I get luminoth to recognize the GPU version of tensorflow?

When I install just tensorflow, luminoth does recognize the package. When both are installed, it does not seem to run on tensorflow-gpu however.

rinkstiekema avatar Dec 13 '18 09:12 rinkstiekema

Up, Any news on this?

yar1k0v avatar Dec 21 '18 17:12 yar1k0v

Up.

Iḿ also with this error. Im using arch linux

marcofaga avatar Jan 21 '19 19:01 marcofaga

I'm getting the same issue :(

keedar avatar Jan 22 '19 04:01 keedar

I get this even with tensorflow/tensorflow-gpu version 1.5 installed

sys-bug avatar Jan 22 '19 13:01 sys-bug

I had the same problem, you do not have CUDA drivers installed correctly. Then works fine with tensrorflow-gpu even less than 1.5

pawel12574 avatar Feb 08 '19 13:02 pawel12574

I had the same problem, you do not have CUDA drivers installed correctly. Then works fine with tensrorflow-gpu even less than 1.5

Can you explain how to install it correctly please. I presume to just follow what is on the site where you download cuda.

Rubenne avatar Feb 13 '19 22:02 Rubenne

I solved this following tensorflow installation steps in https://www.tensorflow.org/install

I installed twnsorflow using pip and it works.

marcofaga avatar Feb 16 '19 03:02 marcofaga

I solved this with reinstalling tensorflow-gpu, installing CUDA Drivers and cuDNN. I missed CUDA and cuDNN libraries for the driver. Only driver installation won't work for tensorflow.

Refer: https://www.tensorflow.org/install/gpu

Windows 10 Nvidia GeForce 610 card CUDA 10.0 (Latest) cuDNN 7.5 for Driver version 10 (Windows) Tensorflow 1.13.0 (Current latest) Luminoth 0.2.3

imtiyazs avatar Feb 24 '19 15:02 imtiyazs

Anyone get a definitive fix for this? I'm having the same problem. Have tried re-installing all the drivers and tensorflow-gpu and still doesn't work. On Ubuntu 18.04 w/ 1080 Ti

JustusWest avatar Apr 09 '19 01:04 JustusWest

Just to make sure, are you installing it in any conda environments you created? I had a similar issue while installing luminoth and tensorflow in a conda environment. Deactivating the environment and reactivating it solved the problem.

If you are running via a jupyter notebook, try checking if luminoth has been installed. You can do this in the runtime by running pip list. If tensorflow or tensorflow-gpu doesn't show up in the list, install it again in the runtime and try.

ganesheshwar avatar Jun 22 '19 09:06 ganesheshwar

I'm running into this issue as well.

Environment details:

AWS Deep Learning Base AMI (Amazon Linux) Version 19.0 (ami-0bdd095c2fbd0e692)

$ pip freeze
absl-py==0.8.0
astor==0.8.0
certifi==2019.6.16
chardet==3.0.4
click==6.7
dm-sonnet==1.23
easydict==1.8
Flask==1.1.1
gast==0.2.2
google-pasta==0.1.7
grpcio==1.23.0
h5py==2.9.0
idna==2.8
itsdangerous==1.1.0
Jinja2==2.10.1
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
luminoth==0.2.3
lxml==4.4.1
Markdown==3.1.1
MarkupSafe==1.1.1
numpy==1.17.1
Pillow==6.1.0
protobuf==3.9.1
PyYAML==3.13
requests==2.22.0
scikit-video==1.1.11
scipy==1.3.1
six==1.12.0
tensorboard==1.14.0
tensorflow-estimator==1.14.0
tensorflow-gpu==1.14.0
termcolor==1.1.0
urllib3==1.25.3
Werkzeug==0.15.5
wrapt==1.11.2
$ python --version
Python 3.7.4

When I run $ lumi I get the following error:

Luminoth requires a TensorFlow >= 1.5 installation.

Depending on your use case, you should install either `tensorflow` or
`tensorflow-gpu` packages manually or via PyPI.

I've already tried uninstalling and reinstalling tensorflow-gpu, but I keep getting the same error. I also tried uninstalling tensorflow-gpu and installing tensorflow for CPU but I get the same error as well.

brenoferreira avatar Aug 30 '19 17:08 brenoferreira

I had a similar issue. In my case, I was trying to run luminoth inside a docker container. I resolved my issue by using nvidia-docker run instead of docker run.

Also, please check if you have compatible versions for cuda, cudnn, tensorflow-gpu - https://www.tensorflow.org/install/source#tested_build_configurations

If that doesn't work for you still, try seeing the list of GPU's you have available using nvidia-smi -q -g 0 -d UTILIZATION -l and set the device you want to use as visible using os.environ["CUDA_VISIBLE_DEVICES"]="0" https://stackoverflow.com/questions/37893755/tensorflow-set-cuda-visible-devices-within-jupyter

pranathivemuri avatar Sep 27 '19 18:09 pranathivemuri