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

Update utils.py #7588

Closed
wants to merge 0 commits into from
Closed

Update utils.py #7588

wants to merge 0 commits into from

Conversation

Yu0610
Copy link
Contributor

@Yu0610 Yu0610 commented Mar 27, 2024

Add combineMCtIandGLCCC()
From the request "A utility function to generate sampling points #6704"
#6704

@@ -642,6 +643,63 @@ def generate_label_classes_crop_centers(
return ensure_tuple(centers)


def combineMCtIandGLCCC(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to use a more meaningful name, such as map_and_generate_sampling_centers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would second here that we need a much more descriptive name here. It would also help to state the dimensions input tensors must have and what the dimensions mean in the docstring. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change the name, Thanks!

@KumoLiu
Copy link
Contributor

KumoLiu commented Apr 1, 2024

Thanks for the PR, please fix the format and DCO issue, thanks!

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

Successfully merging this pull request may close these issues.

3 participants