Skip to content

Commit 95b85c4

Browse files
ovalle15ovalle15
andauthored
latest updates to quality mode (#1266)
Co-authored-by: ovalle15 <aovalle@Andreas-MacBook-Pro-2.local>
1 parent fb3508a commit 95b85c4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

examples/prediction_upload/video_predictions.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,8 +1007,6 @@
10071007
"source": [
10081008
"# Create a Labelbox project\n",
10091009
"project = client.create_project(name=\"video_prediction_demo\",\n",
1010-
" auto_audit_percentage=1,\n",
1011-
" auto_audit_number_of_labels=1,\n",
10121010
" media_type=lb.MediaType.Video)\n",
10131011
"project.setup_editor(ontology)"
10141012
],

examples/project_configuration/queue_management.ipynb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"metadata": {},
6060
"source": [
6161
"import labelbox as lb\n",
62+
"from labelbox.schema.quality_mode import QualityMode\n",
6263
"import numpy as np\n",
6364
"from io import BytesIO\n",
6465
"import os\n",
@@ -103,16 +104,10 @@
103104
"\n",
104105
"project = client.create_project(name=\"batch-test-project\",\n",
105106
" description=\"a description\",\n",
107+
" quality_mode=QualityMode.Benchmark, # For Consensus projects use quality_mode = QualityMode.Consensus\n",
106108
" media_type=lb.MediaType.Image,\n",
107109
" )\n",
108110
"\n",
109-
"# For Consensus quality settings use : \n",
110-
"consensus_quality = {\n",
111-
" \"auto_audit_percentage\": 0.1,\n",
112-
" \"auto_audit_number_of_labels\": 3\n",
113-
"}\n",
114-
"\n",
115-
"\n",
116111
"dataset = client.create_dataset(name=\"queue_dataset\")"
117112
],
118113
"cell_type": "code",

0 commit comments

Comments
 (0)