Skip to content

Commit

Permalink
Merge pull request #530 from mlrun/1.5.x-dev
Browse files Browse the repository at this point in the history
1.5.x dev
  • Loading branch information
aviaIguazio authored Oct 4, 2023
2 parents 6925786 + ca320ba commit 3a8f923
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mask-detection/3-automatic-pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,12 @@
"\n",
"\n",
"# Import the `onnx_utils` function to optimize the model:\n",
"project.set_function(\"hub://onnx_utils\", name=\"onnx-utils\")\n"
"# Import the `onnx_utils` function to optimize the model:\n",
"onnx_func = project.set_function(\"hub://onnx_utils\", name=\"onnx-utils\",requirements=['tensorflow==2.9.0'] if framework=='tf-keras' else ['torch'])\n",
"\n",
"onnx_func.deploy()\n",
"\n",
"onnx_func.save()"
]
},
{
Expand Down

0 comments on commit 3a8f923

Please sign in to comment.