Skip to content

Commit

Permalink
additional patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Feb 10, 2025
1 parent b219283 commit 7397b05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/rvc2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ RUN <<EOF
set -e

# Model Optimizer contains a bug in both versions
# that needs to be patched
# that needs to be manually patched
if [ "${VERSION}" = "2022.3.0" ]; then
patch /usr/local/lib/python3.8/site-packages/openvino/tools/mo/convert_impl.py \
< /patches/mo-2022.3.patch
else
patch /usr/local/lib/python3.8/site-packages/mo/mo/main.py \
< /patches/mo-2021.4.patch

patch /opt/intel/deployment_tools/model_optimizer/mo/main.py \
< /patches/mo-2021.4.patch
fi
Expand Down

0 comments on commit 7397b05

Please sign in to comment.