Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
chineseocr_lite_onnxruntime
Commits
58cfd29a
Commit
58cfd29a
authored
Sep 20, 2024
by
dcuai
Browse files
Update dtk24.04.1
parent
01768478
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
58cfd29a
...
...
@@ -61,13 +61,13 @@ cls:
## 环境配置
在
[
光源
](
https://www.sourcefind.cn/#/service-details
)
可拉取训练以及推理的docker镜像,在
[
光合开发者社区
](
https://cancon.hpccube.com:65024/4/main/
)
可下载paddle安装包用于模型测试。chineseocr_lite_onnx推荐的镜像如下:
```
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:ort
-lite-
1.1
4
.0_migraphx
3.1
.2
-
dtk2
3.
04
docker run -d -t --privileged --device=/dev/kfd --device=/dev/dri/ --network=host --group-add video --name chineseocr-test image.sourcefind.cn:5000/dcu/admin/base/custom:ort
-lite-
1.1
4
.0_migraphx
3.1
.2
-
dtk2
3.04
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:ort1.1
5
.0_migraphx
4.2
.2
_
dtk2
4
04
docker run -d -t --privileged
--shm-size=32g
--device=/dev/kfd --device=/dev/dri/ --network=host --group-add video --name chineseocr-test
-v /opt/hyhal:/opt/hyhal:ro
image.sourcefind.cn:5000/dcu/admin/base/custom:ort1.1
5
.0_migraphx
4.2
.2
_
dtk2
404 bash
docker exec -it chineseocr-test bash
source /opt/dtk
-23.04
/env.sh
source /opt/dtk/env.sh
cd chineseocr_lite_onnx
pip install paddlepaddle-2.5.2_dtk2404_das1.0+gitbb99f03d-cp310-cp310-manylinux2014_x86_64.whl (光合开发者社区下载https://cancon.hpccube.com:65024/4/main/paddle/DAS1.0)
pip3 install -r requirements.txt
pip install urllib3==1.23 pyyaml
```
## 训练
### 测试
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment