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
d31ba7cc
Commit
d31ba7cc
authored
Mar 03, 2021
by
xmy0916
Browse files
fix type error
parent
f1cd0c35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
configs/rec/multi_language/generate_multi_language_configs.py
...igs/rec/multi_language/generate_multi_language_configs.py
+1
-1
No files found.
configs/rec/multi_language/generate_multi_language_configs.py
View file @
d31ba7cc
...
@@ -131,7 +131,7 @@ if __name__ == '__main__':
...
@@ -131,7 +131,7 @@ if __name__ == '__main__':
if
FLAGS
.
val
:
if
FLAGS
.
val
:
global_config
[
'Eval'
][
'dataset'
][
'label_file_list'
]
=
[
FLAGS
.
val
]
global_config
[
'Eval'
][
'dataset'
][
'label_file_list'
]
=
[
FLAGS
.
val
]
eval_label_path
=
os
.
path
.
join
(
project_path
,
FLAGS
.
val
)
eval_label_path
=
os
.
path
.
join
(
project_path
,
FLAGS
.
val
)
loss_file
(
E
val_label_path
)
loss_file
(
e
val_label_path
)
if
FLAGS
.
dict
:
if
FLAGS
.
dict
:
global_config
[
'Global'
][
'character_dict_path'
]
=
FLAGS
.
dict
global_config
[
'Global'
][
'character_dict_path'
]
=
FLAGS
.
dict
dict_path
=
os
.
path
.
join
(
project_path
,
FLAGS
.
dict
)
dict_path
=
os
.
path
.
join
(
project_path
,
FLAGS
.
dict
)
...
...
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