TensorFlow Object Detection API Installation with Specific TensorFlow Version


Is it possible to install the TensorFlow Object Detection API with a specific version (TF2.3)? I have TensorFlow 2.3 installed and I need to be using the API with that specific version, but when I try to install it it automatically uninstalls TF2.3 and installs TF2.5.

Any advice?

You can clone repo with 2.3 tag.

How do I pass the tag exactly?

You can download object detection repo with specific tag - 2.3.0. Then install it with setup.py file.

The link to this repo says that TensorFlow 2.x is not supported. It seems like it only supports TensorFlow 1.x.

Hi There! sorry for reviving this post, but im in a similar issue where i need to install object detection API with tensorflow 2.10.0, but it forces me to install 2.11.0

So as you suggested i tried to clone the specific tag so i can avoid that problem:
git clone -b v2.10.0 GitHub - tensorflow/models: Models and examples built with TensorFlow

but! that tag (and many other tags n branches) does not contain the “research” folder, where all of the detection API resides.

So what am i missing?


1 Like