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
wangsen
paddle_dbnet
Commits
20c2a6ba
Unverified
Commit
20c2a6ba
authored
May 15, 2020
by
dyning
Committed by
GitHub
May 15, 2020
Browse files
Update inference.md
parent
03ea43aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/inference.md
doc/inference.md
+3
-3
No files found.
doc/inference.md
View file @
20c2a6ba
...
@@ -114,13 +114,13 @@ python3 tools/export_model.py -c configs/rec/rec_r34_vd_tps_bilstm_ctc.yml -o Gl
...
@@ -114,13 +114,13 @@ python3 tools/export_model.py -c configs/rec/rec_r34_vd_tps_bilstm_ctc.yml -o Gl
STAR-Net文本识别模型推理,可以执行如下命令:
STAR-Net文本识别模型推理,可以执行如下命令:
```
```
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words_en/word_
401
.png" --rec_model_dir="./inference/starnet/" --rec_image_shape="3, 32, 100" --rec_char_type="en"
python3 tools/infer/predict_rec.py --image_dir="./doc/imgs_words_en/word_
336
.png" --rec_model_dir="./inference/starnet/" --rec_image_shape="3, 32, 100" --rec_char_type="en"
```
```


执行命令后,上面图像的识别结果如下:
执行命令后,上面图像的识别结果如下:
Predicts of ./doc/imgs_words_en/word_
401
.png:['
burgen', 0.9008867
]
Predicts of ./doc/imgs_words_en/word_
336
.png:['
super', 0.9999555
]
**注意**
:由于上述模型是参考
[
DTRB
](
https://arxiv.org/abs/1904.01906
)
文本识别训练和评估流程,与超轻量级中文识别模型训练有两方面不同:
**注意**
:由于上述模型是参考
[
DTRB
](
https://arxiv.org/abs/1904.01906
)
文本识别训练和评估流程,与超轻量级中文识别模型训练有两方面不同:
...
...
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