1
votes

When training the model Tensorflow Object Detection API on Tensorflow-gpu 2.1, there is an error:

No module named 'tensorflow.contrib'

Is it possible to train a model Tensorflow Object Detection API with Tensorflow 2.1?
I dont want to change the version of Tensorflow.
Can someone help me?

1
Hi Norbert Uefa, Can you provide a minimum reproducible code? or a link reference?TF_Support
These days it was announced that Object Detection API is supported by TF 2: link.Waddles

1 Answers

1
votes

Tensorflow object detection API currently works only for Tensorflow 1.x (>=1.12.0), but it's in the works.

See this Github thread: https://github.com/tensorflow/models/issues/6423.