Skip to content

Commit 20a61e8

Browse files
author
Matt Sokoloff
committed
Update readme. Cleanup notebooks
1 parent 799a024 commit 20a61e8

File tree

10 files changed

+101
-3362
lines changed

10 files changed

+101
-3362
lines changed

examples/README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
## Labelbox SDK Examples
22

3-
##### This section contains examples for using the sdk.
4-
We want this section to be as complete as possible so please reach out if you are not finding an example for your use case.
5-
3+
* Learn how to use the SDK by following along
64

75
Structure:
86

97
1. basics
10-
* These are all of the required concepts to use the sdk. Other sections build off of this one so make sure you are familiar.
8+
* [Fundamentals](basics/basics.ipynb)
9+
* CRUD
10+
* [Data rows](basics/data_rows.ipynb)
11+
* [Datasets](basics/datasets.ipynb)
12+
* [Labels](basics/labels.ipynb)
13+
* [Ontologies](basics/ontology.ipynb)
14+
* [Projects](basics/projects.ipynb)
1115
2. label_export
12-
* Contains information on how to export and use labels from labelbox
16+
* [Image annotation export](label_export/images.ipynb)
17+
* [Text annotation export](label_export/text.ipynb)
18+
* [Video annotation export](label_export/video.ipynb)
1319
3. model_assisted_labeling
14-
* Provides examples on using and debugging mal.
20+
* [Image mal example](model_assisted_labeling/image_mal.ipynb)
21+
* [Named entity recognition mal example](model_assisted_labeling/ner_mal.ipynb)
22+
* [Debugging mal](model_assisted_labeling/debugging_mal.ipynb)
1523
4. project_configuration
16-
* Scripts on setting up project. This explains more sophisticatd configurations including customizing the queue.
24+
* [Project setup](project_configuration/project_setup.ipynb)
25+
* [Queue management](project_configuration/queue_management.ipynb)
26+
* [Webhooks](project_configuration/webhooks.ipynb)

examples/basics/data_rows.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"metadata": {},
7676
"outputs": [],
7777
"source": [
78-
"#Can be \n",
7978
"datarows = dataset.data_rows()\n",
8079
"datarow = next(datarows)"
8180
]
@@ -120,7 +119,6 @@
120119
"metadata": {},
121120
"outputs": [],
122121
"source": [
123-
"#See datasets for creation\n",
124122
"#Add one at a time\n",
125123
"dataset = client.create_dataset(name = \"testing-dataset\")\n",
126124
"dataset.create_data_row(row_data = \"https://picsum.photos/200/300\")\n",
@@ -164,7 +162,7 @@
164162
"metadata": {},
165163
"outputs": [],
166164
"source": [
167-
"#You can also mix paths too\n",
165+
"#You can mix local files with urls\n",
168166
"task3 = dataset.create_data_rows([{DataRow.row_data : \"https://picsum.photos/200/300\"}, local_data_path])"
169167
]
170168
},

examples/basics/datasets.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"metadata": {},
6969
"outputs": [],
7070
"source": [
71-
"#Can be fetched by name, or id\n",
71+
"#Can be fetched by name (using a query - see basics), or using an id directly\n",
7272
"dataset = client.get_dataset(DATASET_ID)"
7373
]
7474
},

examples/basics/labels.ipynb

Lines changed: 28 additions & 11 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)