Skip to content

Commit c8c40df

Browse files
amteuschbsekachev
andauthored
Fixes some serverless functions (HRNET, IOG, f-BRS) (#4944)
* Update curl command for Google Drive weights and adjust yaml files (#4736) * update changelog Co-authored-by: Boris Sekachev <[email protected]>
1 parent 511f970 commit c8c40df

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ non-ascii paths while adding files from "Connected file share" (issue #4428)
3131
<https://github.com/opencv/cvat/pull/5004>)
3232
- Shape color is not changed on canvas after changing a label (<https://github.com/opencv/cvat/pull/5045>)
3333
- Unstable e2e restore tests (<https://github.com/opencv/cvat/pull/5010>)
34-
- IOG and f-BRS serverless function (<https://github.com/opencv/cvat/pulls>)
34+
- IOG and f-BRS serverless function (<https://github.com/opencv/cvat/pull/5039>)
3535
- Invisible label item in label constructor when label color background is white,
3636
or close to it (<https://github.com/opencv/cvat/pull/5041>)
3737
- Fixed cvat-core ESlint problems (<https://github.com/opencv/cvat/pull/5027>)
3838
- Fixed task creation with non-local files via the SDK/CLI
3939
(<https://github.com/opencv/cvat/issues/4962>)
40+
- HRNET serverless function (<https://github.com/opencv/cvat/pull/4944>)
4041
- A trailing slash in hostname does't allow SDK to send some requests
4142
(<https://github.com/opencv/cvat/pull/5057>)
4243

serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ spec:
3232
value: apt-get update && apt-get install software-properties-common -y
3333
- kind: RUN
3434
value: add-apt-repository ppa:deadsnakes/ppa
35+
- kind: RUN
36+
value: apt remove python* -y
3537
- kind: RUN
3638
value: apt-get update && apt-get install -y --no-install-recommends build-essential git curl libglib2.0-0 software-properties-common python3 python3.6-dev python3-pip python3-tk
39+
- kind: RUN
40+
value: ln -s /usr/bin/pip3 /usr/local/bin/pip && ln -s /usr/bin/python3 /usr/bin/python
3741
- kind: RUN
3842
value: pip3 install --upgrade pip
3943
- kind: WORKDIR

serverless/pytorch/shiyinzhang/iog/nuclio/function.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414

1515
spec:
1616
description: Interactive Object Segmentation with Inside-Outside Guidance
17-
runtime: 'python:3.6'
17+
runtime: 'python:3.9'
1818
handler: main:handler
1919
eventTimeout: 30s
2020
env:
@@ -30,13 +30,13 @@ spec:
3030
- kind: WORKDIR
3131
value: /opt/nuclio
3232
- kind: RUN
33-
value: conda create -y -n iog python=3.6
33+
value: conda create -y -n iog python=3.9
3434
- kind: SHELL
3535
value: '["conda", "run", "-n", "iog", "/bin/bash", "-c"]'
3636
- kind: RUN
3737
value: conda install -y -c anaconda curl
3838
- kind: RUN
39-
value: conda install -y pytorch=0.4 torchvision=0.2 -c pytorch
39+
value: conda install -y pytorch torchvision -c pytorch
4040
- kind: RUN
4141
value: apt update && apt install -y libgl1-mesa-glx
4242
- kind: RUN

0 commit comments

Comments
 (0)