File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
examples/annotation_import Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 2020 },
2121 "source" : [
2222 " <td>\n " ,
23- " <a href=\" https://colab.research.google.com/github/Labelbox/labelbox-python/blob/develop/examples/annotation_import/image_annotation_import .ipynb\" target=\" _blank\" ><img\n " ,
23+ " <a href=\" https://colab.research.google.com/github/Labelbox/labelbox-python/blob/develop/examples/annotation_import/image .ipynb\" target=\" _blank\" ><img\n " ,
2424 " src=\" https://colab.research.google.com/assets/colab-badge.svg\" alt=\" Open In Colab\" ></a>\n " ,
2525 " </td>\n " ,
2626 " \n " ,
2727 " \n " ,
2828 " \n " ,
2929 " \n " ,
3030 " <td>\n " ,
31- " <a href=\" https://github.com/Labelbox/labelbox-python/tree/develop/examples/annotation_import/image_annotation_import .ipynb\" target=\" _blank\" ><img\n " ,
31+ " <a href=\" https://github.com/Labelbox/labelbox-python/tree/develop/examples/annotation_import/image .ipynb\" target=\" _blank\" ><img\n " ,
3232 " src=\" https://img.shields.io/badge/GitHub-100000?logo=github&logoColor=white\" alt=\" GitHub\" ></a>\n " ,
3333 " </td>"
3434 ]
810810 " ]\n " ,
811811 " )\n " ,
812812 " \n " ,
813- " # Create urls to mask data for upload\n " ,
814- " def signing_function(obj_bytes: bytes) -> str:\n " ,
815- " url = client.upload_data(content=obj_bytes, sign=True)\n " ,
816- " return url\n " ,
817- " \n " ,
818- " label.add_url_to_masks(signing_function)\n " ,
819- " \n " ,
820813 " # Convert our label from a Labelbox class object to the underlying NDJSON format required for upload \n " ,
821814 " label_ndjson = list(NDJsonConverter.serialize([label]))"
822815 ],
You can’t perform that action at this time.
0 commit comments