Skip to content

Commit 1a7043d

Browse files
Update 101 notebook's upload_and_predict_image() call to use project instead of project_name
1 parent 211b366 commit 1a7043d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/use_cases/101_simulate_low_light_product_inspection.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
"outputs": [],
236236
"source": [
237237
"sc_noisy_image, noisy_prediction = geti.upload_and_predict_image(\n",
238-
" image=new_image_with_noise, project_name=PROJECT_NAME, visualise_output=False\n",
238+
" image=new_image_with_noise, project=project, visualise_output=False\n",
239239
")\n",
240240
"\n",
241241
"result = visualizer.draw(new_image_with_noise, noisy_prediction)\n",
@@ -267,7 +267,7 @@
267267
"for alpha in np.arange(start_factor, stop_factor, step):\n",
268268
" new_image_with_noise = simulate_low_light_image(image_2, reduction_factor=alpha)\n",
269269
" image, prediction = geti.upload_and_predict_image(\n",
270-
" image=new_image_with_noise, project_name=PROJECT_NAME, visualise_output=False\n",
270+
" image=new_image_with_noise, project=project, visualise_output=False\n",
271271
" )\n",
272272
" predicted_label = prediction.annotations[0].labels[0]\n",
273273
" print(\n",

0 commit comments

Comments
 (0)