From 2598641261a034b3232e480f72722245988561a7 Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov Date: Tue, 14 Jun 2022 13:24:07 +0300 Subject: [PATCH] Fixed build of retinanet serverless function image (#54) --- CHANGELOG.md | 1 + .../detectron2/retinanet/nuclio/function-gpu.yaml | 2 +- .../facebookresearch/detectron2/retinanet/nuclio/function.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5241d2f8..711172b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Unable to upload annotations () - Fix build dependencies for Siammask () - Bug: Exif orientation information handled incorrectly () +- Fixed build of retinanet function image () ## \[2.0.0] - 2022-03-04 ### Added diff --git a/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function-gpu.yaml b/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function-gpu.yaml index 80594ffe..21f2bde2 100644 --- a/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function-gpu.yaml +++ b/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function-gpu.yaml @@ -114,7 +114,7 @@ spec: - kind: RUN value: curl -O https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/retinanet_R_101_FPN_3x/190397697/model_final_971ab9.pkl - kind: RUN - value: ln -s /usr/bin/pip3 /usr/local/bin/pip + value: ln -s /usr/bin/pip3 /usr/local/bin/pip && ln -s /usr/bin/python3 /usr/bin/python triggers: myHttpTrigger: diff --git a/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function.yaml b/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function.yaml index 5c7c2c64..ea8ac48f 100644 --- a/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function.yaml +++ b/serverless/pytorch/facebookresearch/detectron2/retinanet/nuclio/function.yaml @@ -114,7 +114,7 @@ spec: - kind: RUN value: curl -O https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/retinanet_R_101_FPN_3x/190397697/model_final_971ab9.pkl - kind: RUN - value: ln -s /usr/bin/pip3 /usr/local/bin/pip + value: ln -s /usr/bin/pip3 /usr/local/bin/pip && ln -s /usr/bin/python3 /usr/bin/python triggers: myHttpTrigger: