Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrei-Claudiu Roibu
BrainMapper
Commits
bb82900a
Commit
bb82900a
authored
Apr 16, 2020
by
Andrei-Claudiu Roibu
🖥
Browse files
fixed epoch is None - it is not None
parent
4d76c5ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
solver.py
View file @
bb82900a
...
...
@@ -274,7 +274,7 @@ class Solver():
epoch (int): Current epoch value
"""
if
epoch
is
None
:
if
epoch
is
not
None
:
checkpoint_file_path
=
os
.
path
.
join
(
self
.
experiment_directory_path
,
checkpoint_directory
,
'checkpoint_epoch_'
+
str
(
epoch
)
+
'.'
+
checkpoint_extension
)
self
.
_checkpoint_reader
(
checkpoint_file_path
)
...
...
Write
Preview
Supports
Markdown
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