[Enhancement] Add a visualize script for inference result comparation.#2012
[Enhancement] Add a visualize script for inference result comparation.#2012IRONICBo wants to merge 7 commits intoopen-mmlab:mainfrom
Conversation
|
@IRONICBo Hi, thanks for your PR. Could you update the docs as well? |
OK, I have done it. |
It seems to have confilct in branch, I have merge it and open new PR in #2013. |
|
@IRONICBo Hi, you could update and push to the same pr |
OK,I have changed to this PR. |
|
@IRONICBo hi, do you have time to update this PR? |
Yes, I will update it these days. |
|
I'm sorry for my late PR, does "batch inference" mean synchronized display or parallel interence? |
@IRONICBo for inference with two images at the same time. |
|
@IRONICBo hi, could you update the PR? Hope this PR is ready to merge soon.
|
Ok, I am working on a school project and I will update the PR as soon as possible :) |
Motivation
Modification
tools/visualize.py
Use cases (Optional)
Run command:
python mmdeploy/tools/visualize.py \ --deploy-cfg mmdeploy/configs/mmdet/detection/detection_onnxruntime_dynamic.py \ --model-cfg mmdetection/configs/faster_rcnn/faster-rcnn_r50_fpn_1x_coco.py \ --deploy-path mmdeploy_model/faster-rcnn/end2end.onnx \ --checkpoint checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth \ --test-img mmdetection/demo/demo.jpg mmdetection/demo/demo2.jpg \ --save-dir mmdeploy_model/faster-rcnn \ --device cudaInference result:
