Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes some serverless functions (HRNET, IOG, f-BRS) #4944

Merged
merged 5 commits into from
Oct 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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