From 737ee712d27e558152203d19b8bd329071f7a182 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 30 Mar 2022 18:32:25 +0700 Subject: [PATCH] fix build dependencies for Siammask (#4486) Co-authored-by: Vincent Richard Co-authored-by: Andrey Zhavoronkov --- CHANGELOG.md | 1 + serverless/pytorch/foolwood/siammask/nuclio/function-gpu.yaml | 2 +- serverless/pytorch/foolwood/siammask/nuclio/function.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6df35fd3..60e0d168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bug: Incorrect point deletion with keyboard shortcut () - some AI Tools were not sending responses properly () - Unable to upload annotations () +- Fix build dependencies for Siammask () ### Security - TDB diff --git a/serverless/pytorch/foolwood/siammask/nuclio/function-gpu.yaml b/serverless/pytorch/foolwood/siammask/nuclio/function-gpu.yaml index 1962d216..64cfb1c6 100644 --- a/serverless/pytorch/foolwood/siammask/nuclio/function-gpu.yaml +++ b/serverless/pytorch/foolwood/siammask/nuclio/function-gpu.yaml @@ -41,7 +41,7 @@ spec: - kind: RUN value: git clone https://github.com/foolwood/SiamMask.git - kind: RUN - value: pip install -r SiamMask/requirements.txt jsonpickle + value: pip install Cython==0.29.4 colorama==0.3.9 numpy==1.15.4 requests==2.21.0 fire==0.1.3 matplotlib==2.2.3 numba==0.39.0 scipy==1.1.0 h5py==2.8.0 pandas==0.23.4 tqdm==4.29.1 tensorboardX==1.6 opencv_python==3.4.3.18 jsonpickle - kind: RUN value: pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html - kind: RUN diff --git a/serverless/pytorch/foolwood/siammask/nuclio/function.yaml b/serverless/pytorch/foolwood/siammask/nuclio/function.yaml index 46d1c849..4911f8be 100644 --- a/serverless/pytorch/foolwood/siammask/nuclio/function.yaml +++ b/serverless/pytorch/foolwood/siammask/nuclio/function.yaml @@ -41,7 +41,7 @@ spec: - kind: RUN value: git clone https://github.com/foolwood/SiamMask.git - kind: RUN - value: pip install -r SiamMask/requirements.txt jsonpickle + value: pip install Cython==0.29.4 colorama==0.3.9 numpy==1.15.4 requests==2.21.0 fire==0.1.3 matplotlib==2.2.3 numba==0.39.0 scipy==1.1.0 h5py==2.8.0 pandas==0.23.4 tqdm==4.29.1 tensorboardX==1.6 opencv_python==3.4.3.18 torch==1.9.0 torchvision==0.2.1 jsonpickle - kind: RUN value: conda install -y gcc_linux-64 - kind: RUN