From 244e9973a998e506256c2b6a3e2610ee473a12fe Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Fri, 12 May 2023 16:53:30 +0400 Subject: [PATCH] serverless/openvino: prevent unnecessary downloads By default, Model Downloader downloads all available precisions. --- .../openvino/omz/intel/face-detection-0205/nuclio/Dockerfile | 1 + .../intel/person-reidentification-retail-0277/nuclio/Dockerfile | 1 + .../omz/intel/semantic-segmentation-adas-0001/nuclio/Dockerfile | 1 + .../openvino/omz/intel/text-detection-0004/nuclio/Dockerfile | 1 + 4 files changed, 4 insertions(+) diff --git a/serverless/openvino/omz/intel/face-detection-0205/nuclio/Dockerfile b/serverless/openvino/omz/intel/face-detection-0205/nuclio/Dockerfile index b70dff4ffa25..b721e21ddfd6 100644 --- a/serverless/openvino/omz/intel/face-detection-0205/nuclio/Dockerfile +++ b/serverless/openvino/omz/intel/face-detection-0205/nuclio/Dockerfile @@ -4,6 +4,7 @@ USER root RUN omz_downloader \ --name face-detection-0205,emotions-recognition-retail-0003,age-gender-recognition-retail-0013 \ + --precisions FP32 \ -o /opt/nuclio/open_model_zoo FROM cvat.openvino.base diff --git a/serverless/openvino/omz/intel/person-reidentification-retail-0277/nuclio/Dockerfile b/serverless/openvino/omz/intel/person-reidentification-retail-0277/nuclio/Dockerfile index 1791444f1710..b878c46af9e5 100644 --- a/serverless/openvino/omz/intel/person-reidentification-retail-0277/nuclio/Dockerfile +++ b/serverless/openvino/omz/intel/person-reidentification-retail-0277/nuclio/Dockerfile @@ -4,6 +4,7 @@ USER root RUN omz_downloader \ --name person-reidentification-retail-0277 \ + --precisions FP32 \ -o /opt/nuclio/open_model_zoo FROM cvat.openvino.base diff --git a/serverless/openvino/omz/intel/semantic-segmentation-adas-0001/nuclio/Dockerfile b/serverless/openvino/omz/intel/semantic-segmentation-adas-0001/nuclio/Dockerfile index 6e9ec83c2d35..6ca2bb6c0458 100644 --- a/serverless/openvino/omz/intel/semantic-segmentation-adas-0001/nuclio/Dockerfile +++ b/serverless/openvino/omz/intel/semantic-segmentation-adas-0001/nuclio/Dockerfile @@ -4,6 +4,7 @@ USER root RUN omz_downloader \ --name semantic-segmentation-adas-0001 \ + --precisions FP32 \ -o /opt/nuclio/open_model_zoo FROM cvat.openvino.base diff --git a/serverless/openvino/omz/intel/text-detection-0004/nuclio/Dockerfile b/serverless/openvino/omz/intel/text-detection-0004/nuclio/Dockerfile index 74818551e6f3..d00748400d31 100644 --- a/serverless/openvino/omz/intel/text-detection-0004/nuclio/Dockerfile +++ b/serverless/openvino/omz/intel/text-detection-0004/nuclio/Dockerfile @@ -4,6 +4,7 @@ USER root RUN omz_downloader \ --name text-detection-0004 \ + --precisions FP32 \ -o /opt/nuclio/open_model_zoo FROM cvat.openvino.base