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

TF_annotation does not use a GPU with the CUDA component installed. #1124

Closed
azhavoro opened this issue Feb 6, 2020 · 6 comments · Fixed by #1129
Closed

TF_annotation does not use a GPU with the CUDA component installed. #1124

azhavoro opened this issue Feb 6, 2020 · 6 comments · Fixed by #1129
Assignees
Labels
bug Something isn't working

Comments

@azhavoro
Copy link
Contributor

azhavoro commented Feb 6, 2020

How to reproduce:
build docker-compose -f docker-compose.yml -f components/tf_annotation/docker-compose.tf_annotation.yml -f components/cuda/docker-compose.cuda.yml up -d --build and run tf_annotation. Inference will be runned on CPU.

Seems the tensorflow_gpu package is overridden by tensorflow from datumaro requirements.

@azhavoro azhavoro added the bug Something isn't working label Feb 6, 2020
@itsharsh
Copy link

itsharsh commented Feb 6, 2020

Is this the reason for slow processing of automatic annotation?

@tealeeseng
Copy link

tealeeseng commented Feb 7, 2020

I changed tensorflow version to 1.12 and GPU runs. tensorflow 1.13.1 seems to be only running fine with cuda 10 as per
https://stackoverflow.com/questions/50622525/which-tensorflow-and-cuda-version-combinations-are-compatible

I also encountered error message "ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory" under tensorflow-gpu 1.13.1", therefore, i change the tensorflow version to 1.12.

For your quick change,
grep -R "=1.13" *

and update files accordingly. I also commented away the line at datumaro/requirements.txt, as it is installing CPU version too.

datumaro/requirements.txt:# tensorflow==1.13.1

@itsharsh
Copy link

@nmanovic
I updated the cvat repo and built it again using:
docker-compose -f docker-compose.yml -f components/tf_annotation/docker-compose.tf_annotation.yml -f components/cuda/docker-compose.cuda.yml up -d --build

and getting the following error:
Screenshot from 2020-02-11 17-06-02

@azhavoro
Copy link
Contributor Author

@itsharsh Hi,
at the moment tf_annotation with gpu support is broken.Please see #1133 for details.

@itsharsh
Copy link

Okay, got it,
will wait for the fix, thanks...

@tealeeseng
Copy link

#1138 works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants