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
113c9bb5
"tests/vscode:/vscode.git/clone" did not exist on "66356e7dd5612ec19808891f99c52799efcd92be"
Unverified
Commit
113c9bb5
authored
Dec 20, 2021
by
zhoujun
Committed by
GitHub
Dec 20, 2021
Browse files
Update README.md
parent
11d6814f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ppstructure/vqa/README.md
ppstructure/vqa/README.md
+2
-1
No files found.
ppstructure/vqa/README.md
View file @
113c9bb5
...
@@ -136,7 +136,7 @@ wget https://paddleocr.bj.bcebos.com/dataset/XFUND.tar
...
@@ -136,7 +136,7 @@ wget https://paddleocr.bj.bcebos.com/dataset/XFUND.tar
```
shell
```
shell
python3.7 train_ser.py
\
python3.7 train_ser.py
\
--model_name_or_path
"layoutxlm-base-uncased"
\
--model_name_or_path
"layoutxlm-base-uncased"
\
--ser_model_type
"LayoutLM"
\
--ser_model_type
"Layout
X
LM"
\
--train_data_dir
"XFUND/zh_train/image"
\
--train_data_dir
"XFUND/zh_train/image"
\
--train_label_path
"XFUND/zh_train/xfun_normalize_train.json"
\
--train_label_path
"XFUND/zh_train/xfun_normalize_train.json"
\
--eval_data_dir
"XFUND/zh_val/image"
\
--eval_data_dir
"XFUND/zh_val/image"
\
...
@@ -316,6 +316,7 @@ export CUDA_VISIBLE_DEVICES=0
...
@@ -316,6 +316,7 @@ export CUDA_VISIBLE_DEVICES=0
python3.7 infer_ser_re_e2e.py
\
python3.7 infer_ser_re_e2e.py
\
--model_name_or_path
"./PP-Layout_v1.0_ser_pretrained/"
\
--model_name_or_path
"./PP-Layout_v1.0_ser_pretrained/"
\
--re_model_name_or_path
"./PP-Layout_v1.0_re_pretrained/"
\
--re_model_name_or_path
"./PP-Layout_v1.0_re_pretrained/"
\
--ser_model_type
"LayoutXLM"
\
--max_seq_length
512
\
--max_seq_length
512
\
--output_dir
"output/ser_re_e2e/"
\
--output_dir
"output/ser_re_e2e/"
\
--infer_imgs
"images/input/zh_val_21.jpg"
--infer_imgs
"images/input/zh_val_21.jpg"
...
...
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