-
Notifications
You must be signed in to change notification settings - Fork 45.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the object_detection folder pip installable #4887
Comments
I am also aware that a lot of Python files are meant to be used as runnable scripts. One option would be to make them available as scripts or entry points in the setup.py: http://python-packaging.readthedocs.io/en/latest/command-line-scripts.html |
Here is a PR to demonstrate my point: #4889 |
@bitfort is this something you would consider? |
ping @karmel |
any update on this ? thanks |
This would be extremely useful to have, any update on this? |
Would love to help to make the folder pip installable if it is open for contributions! |
@hadim on issue #62, I attempted to bring the object_detection API to |
Good luck with that! I don't think it will be easy as long as Google folks don't want to help to convert this repo in a python package. And I don't want to maintain a sync-fork myself... So unless a Googlers wants to help here I don't think there is much hope to get a conda forge package accepted. |
If model is not in an internal competition with keras-cv I hope that all the reusable components (libs/utils) could be adopted directly in keras-cv /cc @tanzhenyu |
This Is just the on of the largest API surfsce exposed in model directly but more in general this topic is tracked at tensorflow/community#223 |
Looks like this is an old thread -- I'm not sure if people are still tracking this. Keras-CV should be the place for "object detection as a lib and an API without having to clone the whole repository". If you'd like to contribute directly we'd welcome that |
@tanzhenyu It is old but not outdated. As you can see it was just quickly re-evaulated on 9th May. |
Have the third-party attempts at https://pypi.org/search/?q=tensorflow+object+detection been evaluated? |
Please see #917 (comment) 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.
The text was updated successfully, but these errors were encountered: