Closed ThinkWD closed 1 year ago
The container file is too large. Can you only share the two model files and dbnet.jpg
The container file is too large. Can you only share the two model files and dbnet.jpg
链接: https://pan.baidu.com/s/1x4m6SsRhs1YV0IFuvF_IDw?pwd=ya3v 提取码: ya3v
and command:
python3 tools/deploy.py \
configs/mmocr/text-detection/text-detection_tensorrt_dynamic-320x320-2240x2240.py \
checkpoints/dbnet/dbnet.py \
checkpoints/dbnet/dbnet.pth \
checkpoints/dbnet/dbnet.jpg \
--work-dir checkpoints/dbnet/TensorRT \
--device cuda:0 \
--dump-info
python3 tools/deploy.py \
configs/mmocr/text-recognition/text-recognition_tensorrt_dynamic-1x32x32-1x32x640.py \
checkpoints/crnn/crnn.py \
checkpoints/crnn/crnn.pth \
checkpoints/crnn/crnn.jpg \
--work-dir checkpoints/crnn/TensorRT \
--device cuda:0 \
--dump-info
The problem is duo to different tensor shape received by crnn. https://github.com/open-mmlab/mmdeploy/pull/1668 fixed this problem, you can try lastest code.
Thank you for your time! I will try it.
Checklist
Describe the bug
C++ SDK dome ocr.cpp built on version 0.11.0, executing to
mmdeploy_text_recognizer_apply_bbox
with error:Reproduction
The dockerfile used to build the docker: Dockerfile.zip
I commented out the build sdk section of the dockerfile and built the sdk manually using the following command:
After convert the model I executed the following command to run the demo
A docker image that can reproduce the above problem, It contains the model files I used. 链接: https://pan.baidu.com/s/1IhGF5JOT8p_NS1lsOBgYaA?pwd=8u59 提取码: 8u59
Environment
Error traceback