Skip to content

Conversation

@vbrodsky
Copy link
Contributor

@vbrodsky vbrodsky commented Feb 15, 2023

Story: https://labelbox.atlassian.net/browse/AL-4863

This PR deprecates LabelList and LabelGenerator#as_string() in notebooks

NOTE: I have tested all note books locally, except for those that I changed and are listed in https://labelbox.atlassian.net/browse/AL-4905:

        modified:   examples/integrations/detectron2/coco_object.ipynb
	modified:   examples/integrations/detectron2/coco_panoptic.ipynb
	modified:   examples/model_diagnostics/custom_metrics_demo.ipynb
	modified:   examples/model_diagnostics/model_diagnostics_demo.ipynb
	modified:   examples/model_diagnostics/model_diagnostics_guide.ipynb

Ran the nbqa mypy examples | grep name-defined utility

@vbrodsky vbrodsky added the hold do not review yet! label Feb 15, 2023
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@vbrodsky vbrodsky force-pushed the VB/depr-label-list_SPRNEW-4863_2 branch 3 times, most recently from 51a3c5e to 3670872 Compare February 16, 2023 22:38
Val Brodsky added 2 commits February 16, 2023 14:52
Remove LabelList from text.ipynb

Remove LabelList from getting_started.ipynb

Remove LabelList from coco_object.ipynb

Remove LabelList from coco_panoptic.ipynb

Remove LabelList from images.ipynb

Remove LabelList from custom_metrics_demo.ipynb

Remove LabelList from model_diagnostics_demo.ipynb
@vbrodsky vbrodsky force-pushed the VB/depr-label-list_SPRNEW-4863_2 branch from 3670872 to b20be1b Compare February 16, 2023 22:52
Copy link
Contributor

@whistler whistler left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@kkim-labelbox kkim-labelbox left a comment

Choose a reason for hiding this comment

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

Looks like there's a few more places referring to LabelList inside comments or error messages.

group.py
converter.py
objects.py
base.py
test_collection_py
test_metrics.py

Could we also remove reference to LabelList in all these places?

@vbrodsky
Copy link
Contributor Author

I did not address py classes in this PR, created a separate task https://labelbox.atlassian.net/browse/AL-4965

@vbrodsky vbrodsky merged commit 257bcdc into develop Feb 16, 2023
@vbrodsky vbrodsky deleted the VB/depr-label-list_SPRNEW-4863_2 branch February 16, 2023 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold do not review yet!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants