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
ModelZoo
PaddleOCR_paddle_onnxruntime
Commits
c2d7f80d
Commit
c2d7f80d
authored
Aug 01, 2023
by
sugon_cxj
Browse files
update train.py
parent
0c8e6668
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/train.py
tools/train.py
+1
-1
No files found.
tools/train.py
View file @
c2d7f80d
...
...
@@ -171,7 +171,7 @@ def test_reader(config, device, logger):
if
__name__
==
'__main__'
:
config
,
device
,
logger
,
vdl_writer
=
program
.
preprocess
(
is_train
=
True
)
config
,
device
,
logger
,
vdl_writer
,
args
=
program
.
preprocess
(
is_train
=
True
)
seed
=
config
[
'Global'
][
'seed'
]
if
'seed'
in
config
[
'Global'
]
else
1024
set_seed
(
seed
)
main
(
config
,
device
,
logger
,
vdl_writer
)
...
...
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