Skip to content

Commit

Permalink
[OpenVINO DLDT][Docker] Update version to 2024.3 (itlab-vision#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismukhin authored Sep 16, 2024
2 parents bcaf87a + ec5c5e8 commit cf6adb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN apt-get update && \

# Install openvino
RUN pip3 install --upgrade pip
ARG OV_SHORT_VERSION=2023.0.2
ARG OV_SHORT_VERSION=2024.3.0
RUN pip3 install openvino==${OV_SHORT_VERSION}

# Install openvino-dev
Expand Down
13 changes: 7 additions & 6 deletions docker/OpenVINO_DLDT/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM ubuntu_for_dli

# Install OpenVINO
ARG OV_SHORT_VERSION=2023.3
ARG OV_LONG_VERSION="${OV_SHORT_VERSION}.0.13775.ceeafaf64f3_x86_64"
ARG OV_SHORT_VERSION=2024.3
ARG OV_LONG_VERSION="${OV_SHORT_VERSION}.0.16041.1e3b88e4e3f_x86_64"
RUN sudo mkdir /opt/intel && \
wget -q https://storage.openvinotoolkit.org/repositories/openvino/packages/${OV_SHORT_VERSION}/linux/l_openvino_toolkit_ubuntu22_${OV_LONG_VERSION}.tgz \
-O /tmp/openvino.tgz --no-check-certificate --quiet && \
tar -zxvf /tmp/openvino.tgz -C /opt/intel/ && \
sudo ln -s /opt/intel/l_openvino_toolkit_ubuntu22_${OV_LONG_VERSION} /opt/intel/openvino_2023 && \
sudo ln -s /opt/intel/l_openvino_toolkit_ubuntu22_${OV_LONG_VERSION} /opt/intel/openvino_2024 && \
rm /tmp/openvino.tgz

# Install OpenVINO dependencies
ENV INSTALL_DIR /opt/intel/openvino_2023/
WORKDIR $INSTALL_DIR/install_dependencies
ENV INSTALL_DIR=/opt/intel/openvino_2024
WORKDIR ${INSTALL_DIR}/install_dependencies
RUN echo y | ./install_openvino_dependencies.sh
RUN cat /root/.bashrc > tmp && echo 'source $INSTALL_DIR/setupvars.sh' > /root/.bashrc
RUN cat /root/.bashrc > tmp && echo 'source ${INSTALL_DIR}/setupvars.sh' > /root/.bashrc

# Configure for GPU
RUN sudo apt install -y gpg-agent
Expand All @@ -29,6 +29,7 @@ RUN usermod -a -G video,users root

# Test Accuracy Checker
WORKDIR /tmp/open_model_zoo/tools/accuracy_checker
RUN python3 -m pip install .
RUN pip3 uninstall opencv-python -y && pip3 install "opencv-python-headless"
RUN /bin/bash -c "accuracy_check -c sample/sample_config.yml -m data/test_models -s sample"

Expand Down

0 comments on commit cf6adb8

Please sign in to comment.