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
1e9fe08f
Unverified
Commit
1e9fe08f
authored
Dec 20, 2021
by
zhoujun
Committed by
GitHub
Dec 20, 2021
Browse files
Update README.md
parent
113c9bb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ppstructure/vqa/README.md
ppstructure/vqa/README.md
+6
-6
No files found.
ppstructure/vqa/README.md
View file @
1e9fe08f
...
...
@@ -193,7 +193,7 @@ python3 eval_ser.py \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python3.7 infer_ser.py
\
--model_name_or_path
"
./
PP-Layout_v1.0_ser_pretrained/"
\
--model_name_or_path
"PP-Layout_v1.0_ser_pretrained/"
\
--ser_model_type
"LayoutXLM"
\
--output_dir
"output/ser/"
\
--infer_imgs
"XFUND/zh_val/image/"
\
...
...
@@ -207,7 +207,7 @@ python3.7 infer_ser.py \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python3.7 infer_ser_e2e.py
\
--model_name_or_path
"
./output/
PP-Layout_v1.0_ser_pretrained/"
\
--model_name_or_path
"PP-Layout_v1.0_ser_pretrained/"
\
--ser_model_type
"LayoutXLM"
\
--max_seq_length
512
\
--output_dir
"output/ser_e2e/"
\
...
...
@@ -279,7 +279,7 @@ python3 train_re.py \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python3 eval_re.py
\
--model_name_or_path
"
output/check/checkpoint-best
"
\
--model_name_or_path
"
PP-Layout_v1.0_re_pretrained/
"
\
--max_seq_length
512
\
--eval_data_dir
"XFUND/zh_val/image"
\
--eval_label_path
"XFUND/zh_val/xfun_normalize_val.json"
\
...
...
@@ -297,7 +297,7 @@ python3 eval_re.py \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python3 infer_re.py
\
--model_name_or_path
"
./
PP-Layout_v1.0_re_pretrained/"
\
--model_name_or_path
"PP-Layout_v1.0_re_pretrained/"
\
--max_seq_length
512
\
--eval_data_dir
"XFUND/zh_val/image"
\
--eval_label_path
"XFUND/zh_val/xfun_normalize_val.json"
\
...
...
@@ -314,8 +314,8 @@ python3 infer_re.py \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python3.7 infer_ser_re_e2e.py
\
--model_name_or_path
"
./
PP-Layout_v1.0_ser_pretrained/"
\
--re_model_name_or_path
"
./
PP-Layout_v1.0_re_pretrained/"
\
--model_name_or_path
"PP-Layout_v1.0_ser_pretrained/"
\
--re_model_name_or_path
"PP-Layout_v1.0_re_pretrained/"
\
--ser_model_type
"LayoutXLM"
\
--max_seq_length
512
\
--output_dir
"output/ser_re_e2e/"
\
...
...
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