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
deeb26d5
Commit
deeb26d5
authored
Sep 10, 2019
by
Verena Praher
Browse files
change resnet parameters to speed up training for now
parent
2f72c41d
Changes
1
Hide whitespace changes
Inline
Side-by-side
experiments/experiment_resnets.py
View file @
deeb26d5
...
...
@@ -15,7 +15,7 @@ def run():
# callbacks
early_stop
=
EarlyStopping
(
monitor
=
'val_loss'
,
patience
=
5
0
,
patience
=
2
0
,
verbose
=
True
,
mode
=
'min'
)
...
...
@@ -30,7 +30,7 @@ def run():
if
USE_GPU
:
trainer
=
Trainer
(
gpus
=
[
0
],
distributed_backend
=
'ddp'
,
experiment
=
exp
,
max_nb_epochs
=
5
00
,
train_percent_check
=
1.0
,
experiment
=
exp
,
max_nb_epochs
=
1
00
,
train_percent_check
=
1.0
,
fast_dev_run
=
False
,
early_stop_callback
=
early_stop
,
checkpoint_callback
=
checkpoint_callback
)
else
:
...
...
@@ -42,7 +42,6 @@ def run():
print
(
model
)
trainer
.
fit
(
model
)
# TODO log testing results
trainer
.
test
()
...
...
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