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
ModelZoo
ResNet50_tensorflow
Commits
01122544
Commit
01122544
authored
Aug 02, 2017
by
Marianne Linhares Monteiro
Committed by
GitHub
Aug 02, 2017
Browse files
staged_lr in a single line.
parent
24b80af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
tutorials/image/cifar10_estimator/cifar10_main.py
tutorials/image/cifar10_estimator/cifar10_main.py
+1
-3
No files found.
tutorials/image/cifar10_estimator/cifar10_main.py
View file @
01122544
...
@@ -317,9 +317,7 @@ def _resnet_model_fn(features, labels, mode):
...
@@ -317,9 +317,7 @@ def _resnet_model_fn(features, labels, mode):
num_batches_per_epoch
*
x
num_batches_per_epoch
*
x
for
x
in
np
.
array
([
82
,
123
,
300
],
dtype
=
np
.
int64
)
for
x
in
np
.
array
([
82
,
123
,
300
],
dtype
=
np
.
int64
)
]
]
staged_lr
=
[
staged_lr
=
[
FLAGS
.
learning_rate
*
x
for
x
in
[
1
,
0.1
,
0.01
,
0.002
]]
FLAGS
.
learning_rate
*
x
for
x
in
[
1
,
0.1
,
0.01
,
0.002
]
]
learning_rate
=
tf
.
train
.
piecewise_constant
(
tf
.
train
.
get_global_step
(),
learning_rate
=
tf
.
train
.
piecewise_constant
(
tf
.
train
.
get_global_step
(),
boundaries
,
staged_lr
)
boundaries
,
staged_lr
)
...
...
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