Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
356 changes: 264 additions & 92 deletions annotation_import/audio.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion annotation_import/conversational.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
},
{
"metadata": {},
"source": "# Create Labelbox project\nproject = client.create_project(\n name=\"Conversational Text Annotation Import Demo\",\n media_type=lb.MediaType.Conversational,\n)\n\n# Setup your ontology\nproject.setup_editor(\n ontology) # Connect your ontology and editor to your project",
"source": "# Create Labelbox project\nproject = client.create_project(\n name=\"Conversational Text Annotation Import Demo\",\n media_type=lb.MediaType.Conversational,\n)\n\n# Setup your ontology\nproject.connect_ontology(\n ontology) # Connect your ontology and editor to your project",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/conversational_LLM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
},
{
"metadata": {},
"source": "# Create Labelbox project\nproject = client.create_project(\n name=\"Conversational Text Annotation Import Demo (Pairwise comparison)\",\n media_type=lb.MediaType.Conversational,\n)\n\n# Setup your ontology\nproject.setup_editor(\n ontology) # Connect your ontology and editor to your project",
"source": "# Create Labelbox project\nproject = client.create_project(\n name=\"Conversational Text Annotation Import Demo (Pairwise comparison)\",\n media_type=lb.MediaType.Conversational,\n)\n\n# Setup your ontology\nproject.connect_ontology(\n ontology) # Connect your ontology and editor to your project",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/dicom.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
},
{
"metadata": {},
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"dicom_project_demo\",\n media_type=lb.MediaType.Dicom)\n\n## connect ontology to your project\nproject.setup_editor(ontology)",
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"dicom_project_demo\",\n media_type=lb.MediaType.Dicom)\n\n## connect ontology to your project\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/html.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
},
{
"metadata": {},
"source": "# Create Labelbox project\nproject = client.create_project(name=\"HTML Import Annotation Demo\",\n media_type=lb.MediaType.Html)\n\n# Setup your ontology\nproject.setup_editor(\n ontology) # Connect your ontology and editor to your project",
"source": "# Create Labelbox project\nproject = client.create_project(name=\"HTML Import Annotation Demo\",\n media_type=lb.MediaType.Html)\n\n# Setup your ontology\nproject.connect_ontology(\n ontology) # Connect your ontology and editor to your project",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/image.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
},
{
"metadata": {},
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\nproject = client.create_project(name=\"Image Annotation Import Demo\",\n media_type=lb.MediaType.Image)\n\nproject.setup_editor(ontology)",
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\nproject = client.create_project(name=\"Image Annotation Import Demo\",\n media_type=lb.MediaType.Image)\n\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
1,029 changes: 903 additions & 126 deletions annotation_import/pdf.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion annotation_import/text.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
},
{
"metadata": {},
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"Text Annotation Import Demo\",\n media_type=lb.MediaType.Text)\n\nproject.setup_editor(ontology)",
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"Text Annotation Import Demo\",\n media_type=lb.MediaType.Text)\n\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/tiled.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
},
{
"metadata": {},
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"Geospatial Project Demo\",\n media_type=lb.MediaType.Geospatial_Tile)\n\nproject.setup_editor(ontology)",
"source": "# Project defaults to batch mode with benchmark quality settings if this argument is not provided\n# Queue mode will be deprecated once dataset mode is deprecated\n\nproject = client.create_project(name=\"Geospatial Project Demo\",\n media_type=lb.MediaType.Geospatial_Tile)\n\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion annotation_import/video.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
},
{
"metadata": {},
"source": "project = client.create_project(name=\"Video Annotation Import Demo\",\n media_type=lb.MediaType.Video)\n\n## connect ontology to your project\nproject.setup_editor(ontology)",
"source": "project = client.create_project(name=\"Video Annotation Import Demo\",\n media_type=lb.MediaType.Video)\n\n## connect ontology to your project\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
2 changes: 1 addition & 1 deletion basics/batches.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
},
{
"metadata": {},
"source": "classification_features = [\n lb.Classification(\n class_type=lb.Classification.Type.CHECKLIST,\n name=\"Quality Issues\",\n options=[\n lb.Option(value=\"blurry\", label=\"Blurry\"),\n lb.Option(value=\"distorted\", label=\"Distorted\"),\n ],\n )\n]\n\nontology_builder = lb.OntologyBuilder(tools=[],\n classifications=classification_features)\n\nontology = client.create_ontology(\n \"Ontology from new features\",\n ontology_builder.asdict(),\n media_type=lb.MediaType.Image,\n)\n\nproject.setup_editor(ontology)",
"source": "classification_features = [\n lb.Classification(\n class_type=lb.Classification.Type.CHECKLIST,\n name=\"Quality Issues\",\n options=[\n lb.Option(value=\"blurry\", label=\"Blurry\"),\n lb.Option(value=\"distorted\", label=\"Distorted\"),\n ],\n )\n]\n\nontology_builder = lb.OntologyBuilder(tools=[],\n classifications=classification_features)\n\nontology = client.create_ontology(\n \"Ontology from new features\",\n ontology_builder.asdict(),\n media_type=lb.MediaType.Image,\n)\n\nproject.connect_ontology(ontology)",
"cell_type": "code",
"outputs": [],
"execution_count": null
Expand Down
Loading