Skip to content

Commit

Permalink
fix windows model saving path in books alignment (#2356)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Sep 3, 2024
1 parent 1dec4db commit 2ca0214
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,11 +1055,10 @@
"metadata": {},
"outputs": [],
"source": [
"from openvino.runtime import serialize\n",
"from pathlib import Path\n",
"\n",
"\n",
"ov_model_path = \"ov_model/model.xml\"\n",
"serialize(ov_model, ov_model_path)"
"ov_model_path = Path(\"ov_model/model.xml\")\n",
"ov.save_model(ov_model, ov_model_path)"
]
},
{
Expand Down

0 comments on commit 2ca0214

Please sign in to comment.