-
Notifications
You must be signed in to change notification settings - Fork 68
Vb/remove UUID notebooks al 4862 #929
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
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
a4e2042 to
0b87dc7
Compare
| "metadata": {}, | ||
| "source": [ | ||
| "pairs = get_label_pairs(val_labels, labels_mea, filter_mismatch = True)\n", | ||
| "pairs = lb.get_label_pairs(val_labels, labels_mea, filter_mismatch = True)\n", |
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.
Functions related to metrics are not included in the lb namespace since this has mostly been replaced by autometrics.
This is how it can be imported instead:
from labelbox.data.metrics.group import get_label_pairs
You can also leave out this change, I can fix this for the rest of Looks like this was the only case.get_label_pairs usages in notebooks.
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.
thanks, @whistler . I will do the import you suggest... o.w. the notebooks it broken (I will test it in python, since this notebook does not run to my knowlesge)
JIRA story: https://labelbox.atlassian.net/browse/AL-4862
This removes uuid generation from notebook ndjson. It is not necessarty any more because we already support filling in uuids in the prediction service
I WAS going to followup, in this PR, and remove uuid's from sdk tests and test harnesses, but that led to many tests failing. Most of our NDJSON serialization classes generate a uuid by default. And this is not a problem, since our effort goes to making our customer life simpler in notebooks in literal NDJSON strings... So the I have left the sdk tests as is, and when we use NDJSON objects, those will come with uuid pre-populated