Skip to content

Commit 0ecc66f

Browse files
feat: Computer vision initial services (#389)
Preliminary implementation for computer vision tasks (object detection, image segmentation and image classification).
1 parent daa77ac commit 0ecc66f

78 files changed

Lines changed: 3526 additions & 149 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ jobs:
3939
path: ~/.cache/uv
4040
key: ${{ runner.os }}-uv-${{ hashFiles('pyproject.toml') }}
4141

42+
- name: Cache image classification model
43+
id: cache-img-model
44+
uses: actions/cache@v4
45+
with:
46+
path: models/image_classification/model.onnx
47+
key: img-class-model
48+
49+
- name: Download ONNX model
50+
if: steps.cache-img-model.outputs.cache-hit != 'true'
51+
run: |
52+
curl -L -o models/image_classification/model.onnx https://huggingface.co/dima806/yoga_pose_image_classification/resolve/main/onnx/model.onnx
53+
4254
- name: Project setup
4355
uses: ./.github/actions/project-setup
4456

0 commit comments

Comments
 (0)