Skip to content

Commit

Permalink
Merge pull request #536 from aviaIguazio/mask-detection
Browse files Browse the repository at this point in the history
Mask detection - update pipeline requirements
  • Loading branch information
aviaIguazio authored Nov 7, 2023
2 parents d227f29 + 8ee891d commit 460adde
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 @@ -215,7 +215,12 @@
"\n",
"# Import the `onnx_utils` function to optimize the model:\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",
"onnx_func = project.set_function(\"hub://onnx_utils\", name=\"onnx-utils\",requirements=['tensorflow==2.9.0',\n",
" 'onnx~=1.10.1',\n",
" 'onnxruntime~=1.8.1',\n",
" 'onnxoptimizer~=0.2.0',\n",
" 'onnxmltools~=1.9.0',\n",
" 'tf2onnx~=1.9.0'] if framework=='tf-keras' else ['torch'])\n",
"\n",
"onnx_func.deploy()\n",
"\n",
Expand Down

0 comments on commit 460adde

Please sign in to comment.