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
ycai
simbricks
Commits
4366bb56
"...resnet50_tensorflow.git" did not exist on "bf0dc0497ac45d1221d0b124ed6b3fe5fcccda0e"
Commit
4366bb56
authored
May 08, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
orchestration: document create/restore_cp in ExpEnv
parent
749baeb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
experiments/simbricks/orchestration/experiment/experiment_environment.py
...bricks/orchestration/experiment/experiment_environment.py
+3
-0
No files found.
experiments/simbricks/orchestration/experiment/experiment_environment.py
View file @
4366bb56
...
...
@@ -28,6 +28,9 @@ class ExpEnv(object):
def
__init__
(
self
,
repo_path
,
workdir
,
cpdir
):
self
.
create_cp
=
False
"""Whether a checkpoint should be created."""
self
.
restore_cp
=
False
"""Whether to restore from a checkpoint."""
self
.
pcap_file
=
''
self
.
repodir
=
os
.
path
.
abspath
(
repo_path
)
self
.
workdir
=
os
.
path
.
abspath
(
workdir
)
...
...
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