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
1c340802
Commit
1c340802
authored
Jun 14, 2017
by
Neal Wu
Committed by
GitHub
Jun 14, 2017
Browse files
Changes for consistency
parent
0cde6332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
tutorials/image/alexnet/alexnet_benchmark.py
tutorials/image/alexnet/alexnet_benchmark.py
+10
-14
No files found.
tutorials/image/alexnet/alexnet_benchmark.py
View file @
1c340802
...
...
@@ -75,13 +75,11 @@ def inference(images):
with
tf
.
name_scope
(
'lrn1'
)
as
scope
:
lrn1
=
tf
.
nn
.
local_response_normalization
(
conv1
,
alpha
=
1e-04
,
beta
=
0.75
,
depth_radius
=
5
,
bias
=
2.0
)
lrn1
=
tf
.
nn
.
local_response_normalization
(
conv1
,
alpha
=
1e-4
,
beta
=
0.75
,
depth_radius
=
5
,
bias
=
2.0
)
# pool1
pool1
=
tf
.
nn
.
max_pool
(
lrn1
,
...
...
@@ -105,13 +103,11 @@ def inference(images):
with
tf
.
name_scope
(
'lrn2'
)
as
scope
:
lrn2
=
tf
.
nn
.
local_response_normalization
(
conv2
,
alpha
=
1e-04
,
beta
=
0.75
,
depth_radius
=
5
,
bias
=
2.0
)
lrn2
=
tf
.
nn
.
local_response_normalization
(
conv2
,
alpha
=
1e-4
,
beta
=
0.75
,
depth_radius
=
5
,
bias
=
2.0
)
# pool2
pool2
=
tf
.
nn
.
max_pool
(
lrn2
,
...
...
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