Skip to content

Commit fb3508a

Browse files
ovalle15ovalle15
andauthored
Ao quality mode setup (#1264)
Co-authored-by: ovalle15 <aovalle@Andreas-MacBook-Pro-2.local>
1 parent 571e860 commit fb3508a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/project_configuration/project_setup.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"metadata": {},
5959
"source": [
6060
"import labelbox as lb\n",
61+
"from labelbox.schema.quality_mode import QualityMode\n",
6162
"import uuid"
6263
],
6364
"cell_type": "code",
@@ -152,9 +153,9 @@
152153
{
153154
"metadata": {},
154155
"source": [
156+
"\n",
155157
"batch_project = client.create_project(name=\"Project Setup Demo\",\n",
156-
" auto_audit_percentage=0.1,\n",
157-
" auto_audit_number_of_labels=4,\n",
158+
" quality_mode=QualityMode.Consensus, # For benchmarks use quality_mode = QualityMode.Benchmark\n",
158159
" media_type=lb.MediaType.Image)\n",
159160
"\n",
160161
"\n",
@@ -182,7 +183,7 @@
182183
" priority=5, # priority between 1(Highest) - 5(lowest)\n",
183184
" consensus_settings={\n",
184185
" \"number_of_labels\": 2, \n",
185-
" \"coverage_percentage\": 0.1 \n",
186+
" \"coverage_percentage\": 1 \n",
186187
" } \n",
187188
")\n",
188189
"print(\"Batch: \", batch)"

0 commit comments

Comments
 (0)