@@ -71,7 +71,7 @@ By following this guide, you will learn how to:
7171
7272 export MODELS_PATH=/output
7373 chmod +x /home/dlstreamer/dlstreamer/samples/download_public_models.sh
74- if [ ! -e "src/dlstreamer-pipeline-server/models/public/yolo11s/INT8 /yolo11s.xml" ]; then
74+ if [ ! -e "src/dlstreamer-pipeline-server/models/public/yolo11s/FP16 /yolo11s.xml" ]; then
7575 for attempt in {1..3}; do
7676 echo "Attempt $attempt : Running model download and quantization..."
7777 if /home/dlstreamer/dlstreamer/samples/download_public_models.sh yolo11s coco128; then
@@ -99,23 +99,48 @@ By following this guide, you will learn how to:
9999
100100 docker pull openvino/ubuntu22_dev:2024.6.0
101101 $MODELS_PATH ="$PWD \models"
102-
102+ # Download and convert the ResNet-50 model
103103 docker run --rm `
104- -e http_proxy -e https_proxy -e no_proxy \
105- -v ${MODELS_PATH} :/output `
106- openvino/ubuntu22_dev:2024.6.0 bash -c `
107- " omz_downloader --name resnet-50-pytorch --output_dir models && `
108- omz_converter --name resnet-50-pytorch --download_dir models --output_dir models && `
109- cp -r ./models/public/resnet-50-pytorch /output"
104+ -e http_proxy `
105+ -e https_proxy `
106+ -e no_proxy `
107+ -v "${MODELS_PATH} :/output" `
108+ openvino/ubuntu22_dev:2024.6.0 bash -c "
109+ omz_downloader --name resnet-50-pytorch --output_dir models &&
110+ omz_converter --name resnet-50-pytorch --download_dir models --output_dir models &&
111+ cp -r ./models/public/resnet-50-pytorch /output
112+ "
113+ # Download and quantize the yolov11s model
114+ docker pull docker.io/intel/dlstreamer:2025.1.2-ubuntu24
115+ docker run --rm --user=root `
116+ -e http_proxy `
117+ -e https_proxy `
118+ -e no_proxy `
119+ -v " ${MODELS_PATH} :/output" `
120+ intel/dlstreamer:2025.1.2-ubuntu24 bash -c @'
121+ set -e
122+
123+ mkdir -p src/dlstreamer-pipeline-server/models/public
124+
125+ export MODELS_PATH=/output
126+ chmod +x /home/dlstreamer/dlstreamer/samples/download_public_models.sh
127+
128+ if [ ! -e "src/dlstreamer-pipeline-server/models/public/yolo11s/FP16/yolo11s.xml" ]; then
129+ for attempt in 1 2 3; do
130+
131+ if /home/dlstreamer/dlstreamer/samples/download_public_models.sh yolo11s coco128; then
132+
133+ break
134+ else
135+
136+ sleep 2
137+ fi
138+ done
139+ fi
140+ '@
110141
111- docker run --rm `
112- -e http_proxy -e https_proxy -e no_proxy \
113- -v ${MODELS_PATH} :/output `
114- openvino/ubuntu22_dev:2024.6.0 bash -c `
115- "omz_downloader --name person-vehicle-bike-detection-2004 --output_dir models && `
116- omz_converter --name person-vehicle-bike-detection-2004 --download_dir models --output_dir models && `
117- cp -r ./models/intel/person-vehicle-bike-detection-2004 /output"
118- ` ` `
142+
143+ ` ` `
119144
120145 < /details>
121146
0 commit comments