Skip to content

Commit 3873213

Browse files
Paul NoirelPaul Noirel
authored andcommitted
Update test_img_url to use the assets folder
1 parent 341aa71 commit 3873213

File tree

5 files changed

+248
-186
lines changed

5 files changed

+248
-186
lines changed

examples/model_assisted_labeling/debugging_mal.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"source": [
154154
"project = client.create_project(name=\"debugging_mal_project\")\n",
155155
"dataset = client.create_dataset(name=\"debugging_mal_dataset\")\n",
156-
"test_img_url = \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Kitano_Street_Kobe01s5s4110.jpg/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
156+
"test_img_url = \"https://raw.githubusercontent.com/Labelbox/labelbox-python/sdk/examples/assets/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
157157
"data_row = dataset.create_data_row(row_data=test_img_url)\n",
158158
"editor = next(\n",
159159
" client.get_labeling_frontends(where=LabelingFrontend.name == 'editor'))\n",
@@ -336,7 +336,7 @@
336336
"name": "python",
337337
"nbconvert_exporter": "python",
338338
"pygments_lexer": "ipython3",
339-
"version": "3.8.2"
339+
"version": "3.8.8"
340340
}
341341
},
342342
"nbformat": 4,

examples/model_assisted_labeling/image_mal.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,9 @@
548548
"name": "python",
549549
"nbconvert_exporter": "python",
550550
"pygments_lexer": "ipython3",
551-
"version": "3.8.2"
551+
"version": "3.8.8"
552552
}
553553
},
554554
"nbformat": 4,
555555
"nbformat_minor": 5
556-
}
556+
}

examples/model_assisted_labeling/mal_basics.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"])\n",
141141
"project = client.create_project(name=\"image_mal_project\")\n",
142142
"dataset = client.create_dataset(name=\"image_mal_dataset\")\n",
143-
"test_img_url = \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Kitano_Street_Kobe01s5s4110.jpg/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
143+
"test_img_url = \"https://raw.githubusercontent.com/Labelbox/labelbox-python/sdk/examples/assets/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
144144
"data_row = dataset.create_data_row(row_data=test_img_url)\n",
145145
"editor = next(\n",
146146
" client.get_labeling_frontends(where=LabelingFrontend.name == 'editor'))\n",
@@ -412,7 +412,7 @@
412412
"name": "python",
413413
"nbconvert_exporter": "python",
414414
"pygments_lexer": "ipython3",
415-
"version": "3.8.2"
415+
"version": "3.8.8"
416416
}
417417
},
418418
"nbformat": 4,

examples/model_assisted_labeling/mal_with_subclasses.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"# Note see Ontology, Project, and Project_setup notebooks for more information on this section.\n",
170170
"project = client.create_project(name=\"subclass_mal_project\")\n",
171171
"dataset = client.create_dataset(name=\"subclass_mal_dataset\")\n",
172-
"test_img_url = \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/08/Kitano_Street_Kobe01s5s4110.jpg/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
172+
"test_img_url = \"https://raw.githubusercontent.com/Labelbox/labelbox-python/sdk/examples/assets/2560px-Kitano_Street_Kobe01s5s4110.jpg\"\n",
173173
"dataset.create_data_row(row_data=test_img_url)\n",
174174
"editor = next(\n",
175175
" client.get_labeling_frontends(where=LabelingFrontend.name == 'editor'))\n",

0 commit comments

Comments
 (0)