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

fix(CI): ort test all pipeline #985

Merged
merged 1 commit into from
Sep 2, 2022
Merged
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 .github/scripts/test_mmcls_full_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deploy_cfg=configs/mmcls/classification_onnxruntime_dynamic.py
device=cpu
model_cfg=../mmclassification/configs/resnet/resnet18_8xb32_in1k.py
checkpoint=https://download.openmmlab.com/mmclassification/v0/resnet/resnet18_8xb32_in1k_20210831-fbbb1da6.pth
sdk_cfg=-configs/mmcls/classification_sdk_dynamic.py
sdk_cfg=configs/mmcls/classification_sdk_dynamic.py
input_img=../mmclassification/demo/demo.JPEG
work_dir=work_dir

Expand All @@ -35,6 +35,7 @@ wget -P data/ https://github.com/open-mmlab/mmdeploy/files/9401216/imagenet-val1
unzip data/imagenet-val100.zip -d data/

echo "Running test with ort"

python3 tools/test.py \
$deploy_cfg \
$model_cfg \
Expand Down