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

Implement measure ml model #395

Merged
merged 5 commits into from
Mar 27, 2024
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
20 changes: 5 additions & 15 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ jobs:

- name: Start stack using docker compose
run: docker compose up -d

- name: Setup nodejs (for cypress)
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: "npm"
cache-dependency-path: "frontend/package-lock.json"

- name: Install npm packages (for cypress)
run: npm ci
working-directory: ./frontend

- name: Test end to end (cypress)
run: FRONTEND_HOST=localhost FRONTEND_PORT=3000 npm run test:e2e-ci
working-directory: ./frontend
- name: Cypress run
uses: cypress-io/github-action@v6
with:
working-directory: ./frontend
command: npm run test:e2e-ci

- name: Send artifacts
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ boto3==1.28.39
autodynatrace==2.0.0
# ML
ultralytics==8.1.2
opencv-python==4.9.0.80
onnxruntime==1.17.1
# Dev
pytest==7.4.3
coverage==7.3.2
Binary file added backend/src/ml/measure/best_card.onnx
Binary file not shown.
Binary file added backend/src/ml/measure/best_keypoints.pt
Binary file not shown.
Loading
Loading