forked from Azure/azureml-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jsonl conversion helpers for automl-image notebooks (Azure#2202)
* prototype notebookes for jsonl conversion: multiclass, multilabel, object detection coco, object detection voc, instance segmentation coco, instance segmentation voc * implement jsonl conversion for multiclass and multilabel classification, demonstrate in jsonl-conversion/notebooks and modify automl-image-classification-multiclass-task-fridge-items notebook to use the new implementation * change multilabel notebook to use new jsonl conversion * implement coco jsonl converter for object detection and change notebook to use new implementation, verified that new implementation produces the same jsonl file as the old implementation * implement voc jsonl converter for object detection and demonstrate in object detection notebook, verified that new implementation produces the same train and validation json files as the original * clear outputs in changed notebooks * add instance segmentation to voc jsonl converter, verify that it generates the same train and val annotation files as original, verify that it generates the same annotation file as the coco jsonl converter for object detection * implement coco to jsonl conversion for instance segmentation for iscrowd==0, tested with example notebook from Azure/medical-imaging which ignores crowd annotations, also verified that this does not break the coco to jsonl code for object detection * implement coco to jsonl for instance segmentation for iscrowd==1, generate coco data for instance segmentation notebook, add coco usage to instance segmentation notebook, verified that the jsonl files generated for both voc to jsonl and coco to jsonl (using the newly generated data) are equivalent * refactor mask to polygon using automl.dnn.vision helpers * handling for compressed and uncompressed rle in coco 2 jsonl converter * generate odFridgeObjects data in coco format using rle instead of polygons * demonstrate coco to jsonl for rle data * add docstrings to jsonl conversion code, test with notebooks again, clean up extraneous files * remove extraneous imports * add azureml-automl-dnn-vision pip install for voc to jsonl conversion * reformat with black * add od batch scoring notebook * respond to pr comments: remove unnecessary pip installs, revert notebook metadata, revert modified experiment names, remove az login calls * restore pip install for azureml-automl-dnn-vision, needed to pass gate * revert notebook metadata * copy masktools helpers from azureml-automl-dnn-vision directly into source code * remove unnecessary pip installs, reformat with black, restore metadata * include imports for pycocotools and simplification, necessary for jsonl converison * add skimage pip install * fix skimage -> scikit-image pip install * clarify markdown for pip install prompts Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com> --------- Co-authored-by: Rehaan Bhimani <rbhimani@microsoft.com> Co-authored-by: sharma-riti <52715641+sharma-riti@users.noreply.github.com>
- Loading branch information
1 parent
d3bf478
commit fdadd9d
Showing
16 changed files
with
41,639 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.