Skip to content

Commit

Permalink
[Dockerfiles] Changed model_api usage (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaguzovaTatyana authored Feb 27, 2024
1 parent 83e7d89 commit 934f1af
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/rhel8/openvino_cg_dev_2023.0.0.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"

# for CPU

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu20/openvino_cg_dev_2023.0.0.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"

# for CPU

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ubuntu22/openvino_cg_dev_2023.0.0.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"

# for CPU

Expand Down
2 changes: 1 addition & 1 deletion templates/rhel8/dist/dev.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"
2 changes: 1 addition & 1 deletion templates/ubuntu20/dist/dev.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"
2 changes: 1 addition & 1 deletion templates/ubuntu22/dist/dev.dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \
sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \
pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \
rm -Rf open_model_zoo && \
python3 -c "from openvino.model_zoo import model_api"
python3 -c "from model_zoo import model_api"

0 comments on commit 934f1af

Please sign in to comment.