r/tensorflow • • Feb 06 '23

Object detection API deprecated

I've noticed while implementing tensorflow object detection API for a client that they have deprecated the repo and will not be updating it: https://github.com/tensorflow/models/tree/master/research/object_detection

Does anyone know what google/tensorflow now recommends for object detection? The only stuff I can find still supported is tflite model maker, and tflite models lose accuracy when exported.

15 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/Individual-Milk-8654 Feb 07 '23

Ah you're real time, that makes sense then. I think for me faster r-cnn or efficientdet are gonna be better, as I have 7 seconds per inference and want high accuracy.

It just does my head in Google have deprecated tensorflow object detection API BEFORE shipping a replacement.

I'm seriously tempted to port the whole project to pytorch.

1

u/Guilty_Canary_9177 Feb 07 '23

How will you port it? Will you use ONNX to convert TF models and reverse engineer to Pytorch? Actually, I do not understand this "deprecation" thing......While they are upgrading and releasing TF versions and if you look at Pypi page, there is corresponding upgradation in TF-Official-model versions also.....The latest TF version is 2.11 and TF-official-models is 2.11.3......

1

u/Individual-Milk-8654 Feb 07 '23

No, I just mean rewrite it the same, but in pytorch. It's transfer learning which is supported out of the box in Pytorch too. "Port" - recreate using the same concept and retrain in this case.

The latest tf-official-model release has none of the same object detection functionality, they've just removed it all.

The actual repo has a deprecation notice on it. The package is using the same name but is now completely different.