Skip to content

Commit efcf12a

Browse files
authored
Merge pull request #11 from SonySemiconductorSolutions/v1/main
Squashed merge
2 parents b6aecd0 + 31da9e1 commit efcf12a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jupyter_notebook/cloud_sdk_tutorial.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
},
342342
{
343343
"cell_type": "code",
344-
"execution_count": 31,
344+
"execution_count": null,
345345
"metadata": {},
346346
"outputs": [],
347347
"source": [
@@ -355,10 +355,10 @@
355355
" time=image_timestamp,\n",
356356
" )\n",
357357
" print(response)\n",
358-
" if len(response[0][\"inferences\"]) == 0:\n",
358+
" if len(response[0][\"inference_result\"][\"Inferences\"]) == 0:\n",
359359
" print(\"Cannot get inference results.\")\n",
360360
" raise Exception(\"Cannot get inference results.\")\n",
361-
" return response[0][\"inferences\"]\n",
361+
" return response[0][\"inference_result\"][\"Inferences\"]\n",
362362
" except Exception as error:\n",
363363
" raise Exception(str(error))"
364364
]

jupyter_notebook/cloud_sdk_tutorial_en.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
},
341341
{
342342
"cell_type": "code",
343-
"execution_count": 31,
343+
"execution_count": null,
344344
"metadata": {},
345345
"outputs": [],
346346
"source": [
@@ -354,10 +354,10 @@
354354
" time=image_timestamp,\n",
355355
" )\n",
356356
" print(response)\n",
357-
" if len(response[0][\"inferences\"]) == 0:\n",
357+
" if len(response[0][\"inference_result\"][\"Inferences\"]) == 0:\n",
358358
" print(\"Cannot get inference results.\")\n",
359359
" raise Exception(\"Cannot get inference results.\")\n",
360-
" return response[0][\"inferences\"]\n",
360+
" return response[0][\"inference_result\"][\"Inferences\"]\n",
361361
" except Exception as error:\n",
362362
" raise Exception(str(error))"
363363
]

0 commit comments

Comments
 (0)