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
71e106fe
Commit
71e106fe
authored
Jun 09, 2017
by
Neal Wu
Committed by
GitHub
Jun 09, 2017
Browse files
Merge pull request #1525 from toxic-0518/patch-1
Update resnet_model.py
parents
62b33958
0ce70bdd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
resnet/resnet_model.py
resnet/resnet_model.py
+1
-1
No files found.
resnet/resnet_model.py
View file @
71e106fe
...
...
@@ -185,7 +185,7 @@ class ResNet(object):
trainable
=
False
)
tf
.
summary
.
histogram
(
mean
.
op
.
name
,
mean
)
tf
.
summary
.
histogram
(
variance
.
op
.
name
,
variance
)
# e
li
pson used to be 1e-5. Maybe 0.001 solves NaN problem in deeper net.
# eps
il
on used to be 1e-5. Maybe 0.001 solves NaN problem in deeper net.
y
=
tf
.
nn
.
batch_normalization
(
x
,
mean
,
variance
,
beta
,
gamma
,
0.001
)
y
.
set_shape
(
x
.
get_shape
())
...
...
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