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
47293041
Unverified
Commit
47293041
authored
Jun 16, 2022
by
Evezerest
Committed by
GitHub
Jun 16, 2022
Browse files
Merge pull request #6595 from nbswords/release/2.5
Fix OCR engine + SER command in vqa readme
parents
6389fb0d
c2a7fe92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppstructure/vqa/README.md
ppstructure/vqa/README.md
+1
-1
No files found.
ppstructure/vqa/README.md
View file @
47293041
...
...
@@ -192,7 +192,7 @@ Finally, `precision`, `recall`, `hmean` and other indicators will be printed
Use the following command to complete the series prediction of
`OCR engine + SER`
, taking the pretrained SER model as an example:
```
shell
CUDA_VISIBLE_DEVICES
=
0 python3 tools/infer_vqa_token_ser.py
-c
configs/vqa/ser/layoutxlm.yml
-o
Architecture.Backbone.checkpoints
=
pretrain/ser_LayoutXLM_xfun_zh/Global.infer_img
=
doc/vqa/input/zh_val_42.jpg
CUDA_VISIBLE_DEVICES
=
0 python3 tools/infer_vqa_token_ser.py
-c
configs/vqa/ser/layoutxlm.yml
-o
Architecture.Backbone.checkpoints
=
pretrain/ser_LayoutXLM_xfun_zh/
Global.infer_img
=
doc/vqa/input/zh_val_42.jpg
```
`
Finally, the prediction result visualization image and the prediction result text file will be saved in the directory configured by the `
config.Global.save_res_path
` field. The prediction result text file is named `
infer_results.txt
`.
...
...
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