Closed ChenZhenGui closed 1 year ago
Hi, @ChenZhenGui The usage of profiler.py is python tools/profiler.py deploy_cfg model_cfg image_dir --model model
.
Hi, @ChenZhenGui The usage of profiler.py is
python tools/profiler.py deploy_cfg model_cfg image_dir --model model
.
hello,I have modified the parameter order according to your format, but the same error will still be reported:
Traceback (most recent call last):
File "tools/profiler.py", line 168, in
Everything worked fine when I ran the tensorrt format model
I'm sorry this is an urgent question for me
Please paste the cmd you used.
Hi, @ChenZhenGui. I found the error and fixed it in PR #1600.
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
已收到,谢谢
Checklist
Describe the bug
When I run the profiler.py by the .pth model,there are some issue
Reproduction
python tools/profiler.py ./configs/mmpose/pose-detection_tensorrt_static-256x192.py /home/nvidia/Desktop/mmpose/configs/body_2d_keypoint/topdown_heatmap/coco/mobilevit_coco-256x192.py /home/nvidia/Desktop/mmdeploy/AP_epoch_200.pth /home/nvidia/Desktop/coco/val2017
Environment
Error traceback