Commit eab7aea3 authored by dengjb's avatar dengjb
Browse files

update code

parent ef1e350b
...@@ -32,7 +32,7 @@ pip3 install -r requirements.txt ...@@ -32,7 +32,7 @@ pip3 install -r requirements.txt
``` ```
cd ./docker cd ./docker
docker build --no-cache -t crnn_paddle:last . docker build --no-cache -t crnn_pytorch:last .
docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name docker_name imageID bash
``` ```
...@@ -43,7 +43,8 @@ docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --p ...@@ -43,7 +43,8 @@ docker run -it -v /path/your_code_data/:/path/your_code_data/ --shm-size=32G --p
``` ```
DTK软件栈:dtk22.10 DTK软件栈:dtk22.10
python:python3.8 python:python3.8
pytorch:1.10.1 pytorch:1.10.0
torchvision:0.10.0
``` ```
Tips:以上dtk软件栈、python、pytorch等DCU相关工具版本需要严格一一对应 Tips:以上dtk软件栈、python、pytorch等DCU相关工具版本需要严格一一对应
...@@ -130,6 +131,6 @@ OCR ...@@ -130,6 +131,6 @@ OCR
https://developer.hpccube.com/codes/modelzoo/crnn_pytorch https://developer.hpccube.com/codes/modelzoo/crnn_pytorch
## 参考 ## 参考资料
[GitHub - crnn.pytorch](https://github.com/meijieru/crnn.pytorch/tree/master) [GitHub - crnn.pytorch](https://github.com/meijieru/crnn.pytorch/tree/master)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment