Skip to content
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

Keypoints class/ops #1366

Closed
bhack opened this issue Mar 23, 2020 · 13 comments
Closed

Keypoints class/ops #1366

bhack opened this issue Mar 23, 2020 · 13 comments

Comments

@bhack
Copy link
Contributor

bhack commented Mar 23, 2020

Describe the feature and the current behavior/state.
Add keypoint class utils
Relevant information

@bhack
Copy link
Contributor Author

bhack commented Mar 23, 2020

Just an additional reference ticket: tensorflow/models#2366

@bhack
Copy link
Contributor Author

bhack commented Mar 23, 2020

/cc @jiuqiant

@bhack
Copy link
Contributor Author

bhack commented Mar 26, 2020

We have some Google heatmap/keypoints operations also in https://github.com/google-research/google-research/blob/master/video_structure/ops.py
/cc @mjlm

@bhack
Copy link
Contributor Author

bhack commented May 14, 2020

We have another new (duplicated?) Keypoint/Heatmap utils in the model garden at https://github.com/tensorflow/models/blob/master/research/object_detection/utils/target_assigner_utils.py#L44

@seanpmorgan @karmel Can you ask internally if they can contribute these general utils and components in Addons instead of embedding inside the model garden repositories?

I think this is in the spirit of the approved RFC so that the users could build their own projects without reinveting the whell or be on hold about Addons potential contributions cause we need to worry about duplicates and continously monitoring the garden.
I think that sharing more common/recurrent/standard components Is a positive goal for the while ecosystem and It will speed-up the library adoption by third party developers.

We could understand If the original internal author doesn't want to maintain that code and we are ok with this but we could evalauted to maintain the code ourself if he open a PR/ISSUW on Addons we have a specific flag in the Template if he don't want to maintain the contribution.

@mjlm
Copy link

mjlm commented May 19, 2020 via email

@bhack
Copy link
Contributor Author

bhack commented May 19, 2020

@mjlm Thanks. It would be really great and I am interested if we could collect some generally computer vision/cv models general utils/ops here.

We have seen that there was some internal plan about a computer vision modelling library modeling library for computer vision but we don't know details about this plan.
See tensorflow/models#8278 (comment)

I let @seanpmorgan and @karmel to coordinate more on this.

I am available to support/co-maintain some of these components if we could have something coherent that will not be invalidated with a more or less upstream duplicate that is rolling around the corner.

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

@tanzhenyu Do you think that you want features like these ones migrated in the brand new keras-cv repo?

@tanzhenyu
Copy link
Contributor

This is generally in our roadmap. What's the timeline for this? keras-cv needs to go through public RFC for APIs that we propose

@bhack
Copy link
Contributor Author

bhack commented May 27, 2020

The general goal here is just to not have very short-lifetime efforts that will be superseded soon by another official repo.
@mjlm Seems interested to port some of his shared components form google-research but as you see I am not the only one to be a little bit confused:

I'm generally happy to move some of this to a
shared component garden if it's not a huge amount of work.

I think this was the general direction cause this kind of utils was embedded "as a service" of the specific model and not designed as reusable components.

So if we agree that keras-cv is the direction to accumulate this is kind of reusable components and deduplicating what it is already in the model garden Vision I think we could go in that direction.

So at this point I will ask you what's the timeline for this in keras-cv? 😄

@tanzhenyu
Copy link
Contributor

The general goal here is just to not have very short-lifetime efforts that will be superseded soon by another official repo.
@mjlm Seems interested to port some of his shared components form google-research but as you see I am not the only one to be a little bit confused:

I'm generally happy to move some of this to a
shared component garden if it's not a huge amount of work.

I think this was the general direction cause this kind of utils was embedded "as a service" of the specific model and not designed as reusable components.

So if we agree that keras-cv is the direction to accumulate this is kind of reusable components and deduplicating what it is already in the model garden Vision I think we could go in that direction.

So at this point I will ask you what's the timeline for this in keras-cv? 😄

That's a fair question :-)

We target to provide keras_cv as a repo that provides modular and reusable API. We have made initial plans for object detection models and instance segmentation models. For keypoint estimation the API is still TBD.

@seanpmorgan
Copy link
Member

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

@tanzhenyu
Copy link
Contributor

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

Thanks @seanpmorgan @bhack collaborating on this! Meanwhile it'd be great to re-direct them to the new repo so we could accept contribution as well :-)

@seanpmorgan
Copy link
Member

Thanks for the update... please keep us posted with information/timelines as they become available. In either case we will not be providing this functionality in Addons as it would be duplicated.

Thanks @seanpmorgan @bhack collaborating on this! Meanwhile it'd be great to re-direct them to the new repo so we could accept contribution as well :-)

Yes, for those that end up on this issue please check out the following repository and/or submit contributions there:
https://github.com/keras-team/keras-cv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants