Skip to content

Commit

Permalink
Fix missing model read in hello-npu (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov-alexey authored Aug 30, 2024
1 parent 0a0a2db commit 2692275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions notebooks/hello-npu/hello-npu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
"if not model_path.exists():\n",
" hf_hub.snapshot_download(\"katuni4ka/resnet50_fp16\", local_dir=model_path.parent)\n",
" print(\"IR model saved to {}\".format(model_path))\n",
" model = core.read_model(model_path)\n",
"else:\n",
" print(\"Read IR model from {}\".format(model_path))\n",
" model = core.read_model(model_path)"
Expand Down

0 comments on commit 2692275

Please sign in to comment.