Skip to content

Commit

Permalink
Fixes some serverless functions (HRNET, IOG, f-BRS) (#4944)
Browse files Browse the repository at this point in the history
* Update curl command for Google Drive weights and adjust yaml files (#4736)

* update changelog

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
  • Loading branch information
amteusch and bsekachev authored Oct 9, 2022
1 parent 511f970 commit c8c40df
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ non-ascii paths while adding files from "Connected file share" (issue #4428)
<https://github.com/opencv/cvat/pull/5004>)
- Shape color is not changed on canvas after changing a label (<https://github.com/opencv/cvat/pull/5045>)
- Unstable e2e restore tests (<https://github.com/opencv/cvat/pull/5010>)
- IOG and f-BRS serverless function (<https://github.com/opencv/cvat/pulls>)
- IOG and f-BRS serverless function (<https://github.com/opencv/cvat/pull/5039>)
- Invisible label item in label constructor when label color background is white,
or close to it (<https://github.com/opencv/cvat/pull/5041>)
- Fixed cvat-core ESlint problems (<https://github.com/opencv/cvat/pull/5027>)
- Fixed task creation with non-local files via the SDK/CLI
(<https://github.com/opencv/cvat/issues/4962>)
- HRNET serverless function (<https://github.com/opencv/cvat/pull/4944>)
- A trailing slash in hostname does't allow SDK to send some requests
(<https://github.com/opencv/cvat/pull/5057>)

Expand Down
4 changes: 4 additions & 0 deletions serverless/pytorch/saic-vul/hrnet/nuclio/function-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ spec:
value: apt-get update && apt-get install software-properties-common -y
- kind: RUN
value: add-apt-repository ppa:deadsnakes/ppa
- kind: RUN
value: apt remove python* -y
- kind: RUN
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
- kind: RUN
value: ln -s /usr/bin/pip3 /usr/local/bin/pip && ln -s /usr/bin/python3 /usr/bin/python
- kind: RUN
value: pip3 install --upgrade pip
- kind: WORKDIR
Expand Down
6 changes: 3 additions & 3 deletions serverless/pytorch/shiyinzhang/iog/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:

spec:
description: Interactive Object Segmentation with Inside-Outside Guidance
runtime: 'python:3.6'
runtime: 'python:3.9'
handler: main:handler
eventTimeout: 30s
env:
Expand All @@ -30,13 +30,13 @@ spec:
- kind: WORKDIR
value: /opt/nuclio
- kind: RUN
value: conda create -y -n iog python=3.6
value: conda create -y -n iog python=3.9
- kind: SHELL
value: '["conda", "run", "-n", "iog", "/bin/bash", "-c"]'
- kind: RUN
value: conda install -y -c anaconda curl
- kind: RUN
value: conda install -y pytorch=0.4 torchvision=0.2 -c pytorch
value: conda install -y pytorch torchvision -c pytorch
- kind: RUN
value: apt update && apt install -y libgl1-mesa-glx
- kind: RUN
Expand Down

0 comments on commit c8c40df

Please sign in to comment.