-
Notifications
You must be signed in to change notification settings - Fork 643
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
0.10.0->0.12.0 pipeline resize err #1648
Comments
#1625 will fix this bug, please use this branch or stay tuned. |
refer to #1625 (comment) |
I also have this error, how do you think I should solve this? |
refer to #1625 (comment) I change the dockerfile
|
I have this issue I use python-API, how should I make it work? |
if you use docker
|
I am using mmdeploy-0.12.0-linux-x86_64-cuda11.1-tensorrt8.2.3.0, not docker. What should I do about it? |
Go to your mmdeploy directory, modify the file csrc/mmdeploy/utils/opencv/opencv_utils.cpp, and then go to the mmdeploy build directory and run make |
To fix your problem, you could change cv::resize(src, dst, dst.size(), method); to cv::resize(src, dst, dst.size(), 0, 0, method); in opencv_utils.cpp |
My sdk is downloaded by using wget https://github.com/open-mmlab/mmdeploy/releases/download/v0.12.0/mmdeploy-0.12.0-linux-x86_64-cuda11.1-tensorrt8.2.3.0.tar.gz, and I install using pip and the wheel, which I don't know has anything to do with the main code. I change the cv::resize(src, dst, dst.size(), method); to cv::resize(src, dst, dst.size(), 0, 0, method); anyway, and built it again, but I still have the problem. |
尝试使用容器?,或者你可能需要核对是否程序连接到了你编译的库上 |
Thanks |
Checklist
Describe the bug
Reproduction
python demo/python/image_segmentation.py cuda workdir0.12.0_bisenetv2/ ../mmsegmentation/demo/demo.png
Environment
Error traceback
The text was updated successfully, but these errors were encountered: