Skip to content

Commit cd9bf79

Browse files
committed
Fix tests for cpp-py so that they run, not working yet
Seems one model is causing an issue, either via segmentation fault if trying to catch error, or a nullptr tensor
1 parent bd0f4a5 commit cd9bf79

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test_accuracy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
pip install typing_extensions==4.12.2
4545
cmake ../tests/cpp/accuracy/
4646
make -j
47+
- name: Build CPP-PY Bindings
48+
run: |
49+
pip install src/cpp/py_bindings
4750
- name: Run CPP Test
4851
run: |
4952
build/test_accuracy -d data -p tests/python/accuracy/public_scope.json

tests/cpp/accuracy/test_bindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import cv2
1111

1212
from model_api.models import Model
13-
from py_model_api import ClassificationModel
13+
from vision_api import ClassificationModel
1414

1515

1616
def read_config(models_config: str, model_type: str):

0 commit comments

Comments
 (0)