Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.tensorflow
Commits
c9a06933
Commit
c9a06933
authored
Sep 29, 2017
by
Tiago de Freitas Pereira
Browse files
Changed the validation snapshot default
parent
8fd43642
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/tensorflow/trainers/Trainer.py
View file @
c9a06933
...
...
@@ -60,7 +60,7 @@ class Trainer(object):
###### training options ##########
iterations
=
5000
,
snapshot
=
1000
,
validation_snapshot
=
2000
,
validation_snapshot
=
2000
,
#2000,
keep_checkpoint_every_n_hours
=
2
,
## Analizer
...
...
@@ -421,6 +421,7 @@ class Trainer(object):
step: Iteration number
"""
if
self
.
validation_data_shuffler
.
prefetch
:
embedding
,
labels
=
self
.
session
.
run
([
self
.
validation_predictor
,
self
.
validation_label_ph
])
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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