-
Notifications
You must be signed in to change notification settings - Fork 6
Multiclass label support #285
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
Conversation
| return label | ||
|
|
||
|
|
||
| def convert_display_label_to_internal( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
src/groundlight/client.py
Outdated
| **Example usage**:: | ||
| gl = Groundlight() | ||
| gl = ExperimentalApi() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this need to be ExperimentalAPI()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy paste, my greatest power and greatest weakness
tyler-romero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for adding those new tests too
…hon-sdk into multiclass_label_support
|
I'm seeing backend errors that I believe are related to this PR. Specifically, submitting counting labels triggers count-detector training. But our create_count_detector sdk method doesnt allow specifying what the object to be counted is. This bad specification of count detectors causes errors during training. |
| gl_experimental.add_label(iq1, "cherry") | ||
| iq1 = gl_experimental.get_image_query(iq1.id) | ||
| assert iq1.result.label == "cherry" | ||
| # You can submit the index of the class as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, I see that we can use class index in labels. Should we add this to function description for add_label too?
srnangi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
…hon-sdk into multiclass_label_support
…des, most data is valid now
…hon-sdk into multiclass_label_support
…hon-sdk into multiclass_label_support
…hon-sdk into multiclass_label_support
Tests and labeling support for multiclass detectors