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
Shreyan Chowdhury
moodwalk
Commits
f3f01a50
Commit
f3f01a50
authored
Sep 11, 2019
by
Verena Praher
Browse files
add experiment_name to resnets exp
parent
efa025cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
experiments/experiment_resnets.py
View file @
f3f01a50
...
...
@@ -7,8 +7,7 @@ import os
def
run
(
hparams
):
# init_experiment(comment=hparams.experiment_name)
init_experiment
()
init_experiment
(
comment
=
hparams
.
experiment_name
)
from
utils
import
CURR_RUN_PATH
,
logger
# import these after init_experiment
logger
.
info
(
CURR_RUN_PATH
)
logger
.
info
(
f
"tensorboard --logdir=
{
CURR_RUN_PATH
}
"
)
...
...
@@ -49,6 +48,8 @@ def run(hparams):
if
__name__
==
'__main__'
:
parent_parser
=
HyperOptArgumentParser
(
strategy
=
'grid_search'
,
add_help
=
False
)
parent_parser
.
add_argument
(
'--experiment_name'
,
type
=
str
,
default
=
'pt_lightning_exp_a'
,
help
=
'test tube exp name'
)
#parent_parser.add_argument('--gpus', type=list, default=[0,1],
# help='how many gpus to use in the node.'
# ' value -1 uses all the gpus on the node')
...
...
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