Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire committed Jun 20, 2022
1 parent 4b3c409 commit bc7896a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_codebase/test_mmrotate/test_mmrotate_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_multiclass_nms_rotated_with_keep_top_k(pre_top_k):
model_inputs = {'boxes': test_boxes, 'scores': test_scores}

import mmdeploy.backend.onnxruntime as ort_apis
backend_model = ort_apis.ORTWrapper(onnx_model_path, 'cuda:0', None)
backend_model = ort_apis.ORTWrapper(onnx_model_path, 'cpu', None)
output = backend_model.forward(model_inputs)
output = backend_model.output_to_list(output)
dets = output[0]
Expand Down

0 comments on commit bc7896a

Please sign in to comment.