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

Requesting GPU to complete installation #1

Open
tutugodfrey opened this issue Jun 9, 2020 · 2 comments
Open

Requesting GPU to complete installation #1

tutugodfrey opened this issue Jun 9, 2020 · 2 comments

Comments

@tutugodfrey
Copy link

It tried installing the package but I could not because it it requiring a GPU to be present before completing the installation

$ python3 -m pip install tf-object-detection
Collecting tf-object-detection
Downloading tf_object_detection-0.0.2.7-py3-none-any.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 87 kB/s
Requirement already satisfied: setuptools>=41.0.0 in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (45.1.0.post20200127)
Requirement already satisfied: jupyter in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (1.0.0)
Requirement already satisfied: cython in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (0.29.19)
Requirement already satisfied: pillow in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (7.0.0)
Collecting pycocotools-fix
Downloading pycocotools-fix-2.0.0.1.tar.gz (23 kB)
Requirement already satisfied: matplotlib in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (3.1.2)
Requirement already satisfied: contextlib2 in ./anaconda3/envs/bertelsmann-env/lib/python3.8/site-packages (from tf-object-detection) (0.6.0.post1)
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu<2.0 (from tf-object-detection) (from versions: none)
ERROR: No matching distribution found for tensorflow-gpu<2.0 (from tf-object-detection)

@junjuew
Copy link
Owner

junjuew commented Jun 9, 2020

The package not found is not due to GPU missing, as the tensorflow-gpu package does not check for GPU HW and has a fallback mechanism to CPU mode when GPU is not available. Try updating your pip and see if tensorflow-gpu package can be found.

pip install -U pip
pip install tensorflow-gpu<2.0

@vjpr
Copy link

vjpr commented Nov 10, 2021

Workaround

This forked fixes it: https://github.com/mylesagray/tf_object_detection

Use poetry add tensorflow-object-detection

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

3 participants