Skip to content

Commit ab0ef82

Browse files
author
Matt Sokoloff
committed
minor notebook cleanup
1 parent 2f74fe2 commit ab0ef82

File tree

11 files changed

+27
-13
lines changed

11 files changed

+27
-13
lines changed

examples/basics/data_rows.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"metadata": {},
4141
"outputs": [],
4242
"source": [
43-
"from labelbox import Project, Dataset, DataRow, Client\n",
43+
"from labelbox import DataRow, Client\n",
4444
"import uuid\n",
4545
"import os"
4646
]

examples/basics/datasets.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"metadata": {},
3838
"outputs": [],
3939
"source": [
40-
"from labelbox import Client, Dataset, DataRow\n",
40+
"from labelbox import Client\n",
4141
"import uuid\n",
4242
"import os"
4343
]

examples/basics/ontologies.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"outputs": [],
3232
"source": [
3333
"from labelbox.schema.ontology import OntologyBuilder, Tool, Classification, Option\n",
34-
"from labelbox import Project, Client\n",
34+
"from labelbox import Client\n",
3535
"import os"
3636
]
3737
},

examples/basics/projects.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
42-
"from labelbox import Client, Project\n",
42+
"from labelbox import Client\n",
4343
"import os"
4444
]
4545
},

examples/label_export/images.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"id": "owned-import",
66
"metadata": {},
77
"source": [
8-
"# Image Data Export"
8+
"# Image Data Export\n",
9+
"* Export labels from image annotation projects"
910
]
1011
},
1112
{

examples/label_export/text.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"id": "employed-baptist",
66
"metadata": {},
77
"source": [
8-
"# Text Data Export"
8+
"# Text Data Export\n",
9+
"* Export labels from text annotation projects"
910
]
1011
},
1112
{

examples/label_export/video.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"id": "employed-baptist",
66
"metadata": {},
77
"source": [
8-
"# Video Data Export"
8+
"# Video Data Export\n",
9+
"* Export labels from video annotation projects"
910
]
1011
},
1112
{

examples/model_assisted_labeling/image_mal.ipynb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"# Image MAL"
99
]
1010
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "intellectual-idaho",
14+
"metadata": {},
15+
"source": [
16+
"* Upload model inferences for image tasks (point, polygon, bounding box, segmentation, polyline)"
17+
]
18+
},
1119
{
1220
"cell_type": "code",
1321
"execution_count": null,

examples/model_assisted_labeling/mal-with-subclasses.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"metadata": {},
77
"source": [
88
"# MAL With Subclasses\n",
9-
"* This is the same task as the image one but we are going to see if the user has a handbad on them and upload that as an option"
9+
"* Image MAL with subclasses.\n",
10+
"* This is the same task as the image mal tutorial but we are going to add a subclass for whether or not the person in the image is holding a bag."
1011
]
1112
},
1213
{
@@ -27,7 +28,7 @@
2728
},
2829
{
2930
"cell_type": "code",
30-
"execution_count": 1,
31+
"execution_count": 2,
3132
"id": "committed-richards",
3233
"metadata": {},
3334
"outputs": [],
@@ -48,7 +49,7 @@
4849
},
4950
{
5051
"cell_type": "code",
51-
"execution_count": null,
52+
"execution_count": 3,
5253
"id": "exclusive-elephant",
5354
"metadata": {},
5455
"outputs": [],

examples/model_assisted_labeling/ner_mal.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"id": "restricted-place",
66
"metadata": {},
77
"source": [
8-
"# Named Entity Recognition MAL"
8+
"# Named Entity Recognition MAL\n",
9+
"* Upload model inferences for NER tasks"
910
]
1011
},
1112
{
@@ -19,7 +20,7 @@
1920
"!pip install flair\n",
2021
"!pip install wikipedia-api\n",
2122
"!pip install ndjson\n",
22-
"!pip nstall requests"
23+
"!pip install requests"
2324
]
2425
},
2526
{

0 commit comments

Comments
 (0)