tensorflow / tensorflow/models

Make the object_detection folder pip installable

Open
#4,887 14 comments 12 reactions 2 assignees View on GitHub

@pkulzc is already working on this.

Since Oct 29, 2019.

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

Description

Please see https://github.com/tensorflow/models/issues/917#issuecomment-407552473 for history.

In short, that would allow to really use object_detection as a lib and an API without having to clone the whole repository.

It would make it more easy to use and everyone's code using this API more reproducible.

Now it's up to you whether you want to keep it in this repo or create a separate repo from models. The advantage of the later is that you can easily install whatever git commit you to want with something like that: pip install https://github.com/tensorflow/models/archive/6c21084503b27a9ab118e1db25f79957d5ef540b.zip.

That being said I am totally fine with regularly upload wheels to PyPi from only the research/object_detection folder.

The last thing for a pip installable package, you would have to compile PB files in the setup.py file, but that should not be too hard. I can submit a PR if you want/need.

Hope this makes sense to you.

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.