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
f806d8d8
"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "a33b0abbe081f27d7e1640cd06603db856c003c8"
Commit
f806d8d8
authored
May 19, 2020
by
tink2123
Browse files
format code
parent
d9757c7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/program.py
tools/program.py
+1
-1
No files found.
tools/program.py
View file @
f806d8d8
...
...
@@ -348,7 +348,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict):
except
fluid
.
core
.
EOFException
:
train_loader
.
reset
()
if
epoch
==
0
and
save_epoch_step
==
1
:
if
epoch
==
0
and
save_epoch_step
==
1
:
save_path
=
save_model_dir
+
"/iter_epoch_0"
save_model
(
train_info_dict
[
'train_program'
],
save_path
)
if
epoch
>
0
and
epoch
%
save_epoch_step
==
0
:
...
...
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