tensorflow / tensorflow/models

Install tf2 object detection api with tensorflow 2.2 rather than 2.4

Open
#9,634 8 comments 5 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Jan 15, 2021.

models:research:odapi type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

Following the tutorial, I install the tensorflow object detection

cd models/research
# compile protos:
protoc object_detection/protos/*.proto --python_out=.
# Install TensorFlow Object Detection API as a python package:
cp object_detection/packages/tf2/setup.py .
python -m pip install .

but this install tensorflow 2.4, which require CUDA 11.
Since i'm working with CUDA 10.1, I would like to install the API with tensorflow 2.2

How can I specify that I wanna use tensorflow 2.2 rather than 2.4 ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.