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
crnn_migraphx
Commits
fb3d3a43
Commit
fb3d3a43
authored
Oct 24, 2023
by
liucong
Browse files
修改readme
parent
dcae2faf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
4 deletions
+21
-4
Doc/Images/CRNN_02.png
Doc/Images/CRNN_02.png
+0
-0
README.md
README.md
+18
-3
docker/Dockerfile
docker/Dockerfile
+2
-0
model.properties
model.properties
+1
-1
No files found.
Doc/Images/CRNN_02.png
0 → 100644
View file @
fb3d3a43
2.69 KB
README.md
View file @
fb3d3a43
...
@@ -16,9 +16,11 @@ CRNN模型的主要结构包括基于CNN的图像特征提取模块以及基于
...
@@ -16,9 +16,11 @@ CRNN模型的主要结构包括基于CNN的图像特征提取模块以及基于
CRNN是文本识别领域的一种经典算法,该算法的主要思想是认为文本识别需要对序列进行预测,所以采用了预测序列常用的RNN网络。该算法首先通过CNN提取图片特征,然后采用RNN对序列进行预测,最终使用CTC方法得到最终结果。
CRNN是文本识别领域的一种经典算法,该算法的主要思想是认为文本识别需要对序列进行预测,所以采用了预测序列常用的RNN网络。该算法首先通过CNN提取图片特征,然后采用RNN对序列进行预测,最终使用CTC方法得到最终结果。
<img
src=
"./Doc/Images/CRNN_02.png"
style=
"zoom:100%;"
align=
middle
>
## 环境配置
## 环境配置
### Docker
### Docker
(方法一)
拉取镜像:
拉取镜像:
...
@@ -35,6 +37,15 @@ docker run --shm-size 16g --network=host --name=crnn_migraphx --privileged --dev
...
@@ -35,6 +37,15 @@ docker run --shm-size 16g --network=host --name=crnn_migraphx --privileged --dev
source /opt/dtk/env.sh
source /opt/dtk/env.sh
```
```
### Dockerfile(方法二)
```
cd ./docker
docker build --no-cache -t crnn_migraphx:2.0 .
docker run --shm-size 16g --network=host --name=crnn_migraphx --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/crnn_migraphx:/home/crnn_migraphx -it <Your Image ID> /bin/bash
```
## 数据集
## 数据集
根据提供的样本数据,进行文本识别。
根据提供的样本数据,进行文本识别。
...
@@ -159,6 +170,10 @@ waiting
...
@@ -159,6 +170,10 @@ waiting
recognition
recognition
```
```
### 精度
无
## 应用场景
## 应用场景
### 算法类别
### 算法类别
...
@@ -167,12 +182,12 @@ recognition
...
@@ -167,12 +182,12 @@ recognition
### 热点应用行业
### 热点应用行业
`工业制造`
,
`金融`
,
`交通`
,
`教育`
,
`医疗`
`金融`
,
`交通`
,
`教育`
,
`医疗`
## 源码仓库及问题反馈
## 源码仓库及问题反馈
https://developer.hpccube.com/codes/modelzoo/crnn_migraphx
https://developer.hpccube.com/codes/modelzoo/crnn_migraphx
## 参考
## 参考
资料
https://github.com/meijieru/crnn.pytorch
https://github.com/meijieru/crnn.pytorch
docker/Dockerfile
0 → 100644
View file @
fb3d3a43
FROM
image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.0.0-centos7.6-dtk23.04.1-py38-latest
RUN
source
/opt/dtk/env.sh
model.properties
View file @
fb3d3a43
...
@@ -5,6 +5,6 @@ modelName=crnn_migraphx
...
@@ -5,6 +5,6 @@ modelName=crnn_migraphx
#模型描述
#模型描述
modelDescription
=
CRNN模型是图像文本识别领域的经典算法,主要用于端到端地对不定长的文本序列进行识别。
modelDescription
=
CRNN模型是图像文本识别领域的经典算法,主要用于端到端地对不定长的文本序列进行识别。
#应用场景
#应用场景
appScenario
=
推理,
0CR,
文本识别
appScenario
=
推理,文本识别
,金融,交通,教育,医疗
#框架类型
#框架类型
frameType
=
migraphx
frameType
=
migraphx
\ No newline at end of file
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