Files
enginex-bi_series-paddleocr/run_in_docker.sh
2025-08-29 14:54:34 +08:00

8 lines
251 B
Bash
Executable File

gpu=0
command="python3 test.py"
if [[ $# -ge 1 ]]; then
command=$@
fi
docker run -p 8080:80 -v `pwd`:/workspace -v /mnt/contest_ceph/zhanghao/models/ocr:/mnt/models/ocr -v /dev:/dev --device=/dev/iluvatar$gpu:/dev/iluvatar0 paddleocr:bi $command