Commit 5ff00ecf authored by Ukhu's avatar Ukhu
Browse files

Update OpenVINO 2020 3 LTS

parent 6666b79c
......@@ -8,9 +8,9 @@ RUN python3 $downloader --name googlenet-v3 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/googlenet-v3/inception_v3_2016_08_28_frozen.pb --output_dir ./ir/googlenet/v3/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/googlenet-v3/inception_v3_2016_08_28_frozen.pb --output_dir ./ir/googlenet/v3/FP16 --data_type FP16
RUN python3 $downloader --name googlenet-v4 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/googlenet-v4/googlenet-v4.caffemodel --output_dir ./ir/googlenet/v4/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/googlenet-v4/googlenet-v4.caffemodel --output_dir ./ir/googlenet/v4/FP16 --data_type FP16
RUN python3 $downloader --name googlenet-v4-tf --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/googlenet-v4-tf/inception_v4.frozen.pb --output_dir ./ir/googlenet/v4/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/googlenet-v4-tf/inception_v4.frozen.pb --output_dir ./ir/googlenet/v4/FP16 --data_type FP16
RUN python3 $downloader --name vgg16 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/vgg16/vgg16.caffemodel --output_dir ./ir/vgg/16/FP32 --data_type FP32
......@@ -20,17 +20,17 @@ RUN python3 $downloader --name vgg19 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/vgg19/vgg19.caffemodel --output_dir ./ir/vgg/19/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/vgg19/vgg19.caffemodel --output_dir ./ir/vgg/19/FP16 --data_type FP16
RUN python3 $downloader --name resnet-50 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/resnet-50/resnet-50.caffemodel --output_dir ./ir/resnet/v1/50/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/resnet-50/resnet-50.caffemodel --output_dir ./ir/resnet/v1/50/FP16 --data_type FP16
#RUN python3 $downloader --name resnet-50 --output_dir /root/openvino_models
#RUN python3 $optimizer --input_model ./public/resnet-50/resnet-50.caffemodel --output_dir ./ir/resnet/v1/50/FP32 --data_type FP32
#RUN python3 $optimizer --input_model ./public/resnet-50/resnet-50.caffemodel --output_dir ./ir/resnet/v1/50/FP16 --data_type FP16
RUN python3 $downloader --name resnet-101 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/resnet-101/resnet-101.caffemodel --output_dir ./ir/resnet/v1/101/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/resnet-101/resnet-101.caffemodel --output_dir ./ir/resnet/v1/101/FP16 --data_type FP16
#RUN python3 $downloader --name resnet-101 --output_dir /root/openvino_models
#RUN python3 $optimizer --input_model ./public/resnet-101/resnet-101.caffemodel --output_dir ./ir/resnet/v1/101/FP32 --data_type FP32
#RUN python3 $optimizer --input_model ./public/resnet-101/resnet-101.caffemodel --output_dir ./ir/resnet/v1/101/FP16 --data_type FP16
RUN python3 $downloader --name resnet-152 --output_dir /root/openvino_models
RUN python3 $optimizer --input_model ./public/resnet-152/resnet-152.caffemodel --output_dir ./ir/resnet/v1/152/FP32 --data_type FP32
RUN python3 $optimizer --input_model ./public/resnet-152/resnet-152.caffemodel --output_dir ./ir/resnet/v1/152/FP16 --data_type FP16
#RUN python3 $downloader --name resnet-152 --output_dir /root/openvino_models
#RUN python3 $optimizer --input_model ./public/resnet-152/resnet-152.caffemodel --output_dir ./ir/resnet/v1/152/FP32 --data_type FP32
#RUN python3 $optimizer --input_model ./public/resnet-152/resnet-152.caffemodel --output_dir ./ir/resnet/v1/152/FP16 --data_type FP16
COPY ./entrypoint.sh /
CMD ["/bin/bash"]
......@@ -14,7 +14,7 @@ if [ "$device" == "CPU" ]; then
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v3/FP32/inception_v3_2016_08_28_frozen.xml
echo $stars
echo "Inception V4"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v4/FP32/googlenet-v4.xml
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v4/FP32/inception_v4.frozen.xml
echo $stars
echo "VGG16"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/vgg/16/FP32/vgg16.xml
......@@ -22,22 +22,22 @@ if [ "$device" == "CPU" ]; then
echo "VGG19"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/vgg/19/FP32/vgg19.xml
echo $stars
echo "Resnet 50"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/50/FP32/resnet-50.xml
echo $stars
echo "Resnet 101"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/101/FP32/resnet-101.xml
echo $stars
echo "Resnet 152"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/152/FP32/resnet-152.xml
echo $stars
#echo "Resnet 50"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/50/FP32/resnet-50.xml
#echo $stars
#echo "Resnet 101"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/101/FP32/resnet-101.xml
#echo $stars
#echo "Resnet 152"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/152/FP32/resnet-152.xml
#echo $stars
else
echo $stars
echo "Inception V3"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v3/FP16/inception_v3_2016_08_28_frozen.xml
echo $stars
echo "Inception V4"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v4/FP16/googlenet-v4.xml
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/googlenet/v4/FP16/inception_v4.frozen.xml
echo $stars
echo "VGG16"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/vgg/16/FP16/vgg16.xml
......@@ -45,15 +45,15 @@ else
echo "VGG19"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/vgg/19/FP16/vgg19.xml
echo $stars
echo "Resnet 50"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/50/FP16/resnet-50.xml
echo $stars
echo "Resnet 101"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/101/FP16/resnet-101.xml
echo $stars
echo "Resnet 152"
$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/152/FP16/resnet-152.xml
echo $stars
#echo "Resnet 50"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/50/FP16/resnet-50.xml
#echo $stars
#echo "Resnet 101"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/101/FP16/resnet-101.xml
#echo $stars
#echo "Resnet 152"
#$benchmark -d $device -i $input -api $api -m /root/openvino_models/ir/resnet/v1/152/FP16/resnet-152.xml
#echo $stars
fi
echo "Benchmarking done!"
......
......@@ -31,7 +31,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get autoremove && \
rm -rf /var/lib/apt/lists/*
# Openvino Version
ARG openvinoTar=l_openvino_toolkit_p_2020.2.120
ARG openvinoTar=l_openvino_toolkit_p_2020.3.194
ENV INSTALL_DIR=/opt/intel/openvino
ARG TEMP_DIR=/tmp/openvino_installer
RUN mkdir -p $TEMP_DIR
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment