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

Why use sort in prompt indicator? #4

Open
Chen-Song opened this issue Nov 7, 2022 · 1 comment
Open

Why use sort in prompt indicator? #4

Chen-Song opened this issue Nov 7, 2022 · 1 comment

Comments

@Chen-Song
Copy link

cls_idx.append(sorted_idx[:n_train].sort().values)

Hello, in your code, why use sort function to sort the class idx by their class id?

@volgachen
Copy link
Collaborator

volgachen commented Nov 8, 2022

sort does not have any impact on the training of object detection or pose estimation.
However, it would help us organize code if we want to train these two tasks with the same input data, which is not ready for release.

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

2 participants