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
bb94730f
Commit
bb94730f
authored
Nov 08, 2016
by
Tiago de Freitas Pereira
Browse files
Fixed bug normalizer
parent
7ed37527
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/learn/tensorflow/datashuffler/Normalizer.py
View file @
bb94730f
...
...
@@ -25,9 +25,8 @@ class MeanOffset(object):
self
.
mean_offset
=
mean_offset
def
__call__
(
self
,
x
):
for
i
in
range
(
len
(
self
.
mean_offset
)):
x
[:,
i
,
:,
:
]
=
x
[:,
i
,
:,
:
]
-
self
.
mean_offset
[
i
]
x
[:,
:,
i
]
=
x
[:,
:,
i
]
-
self
.
mean_offset
[
i
]
return
x
...
...
bob/learn/tensorflow/network/VGG16_mod.py
View file @
bb94730f
...
...
@@ -53,13 +53,13 @@ class VGG16_mod(SequenceNetwork):
# Forth convolutional block
conv5_1_kernel_size
=
3
,
conv5_1_output
=
512
,
conv5_1_output
=
256
,
conv5_2_kernel_size
=
3
,
conv5_2_output
=
512
,
conv5_2_output
=
256
,
conv5_3_kernel_size
=
3
,
conv5_3_output
=
512
,
conv5_3_output
=
256
,
n_classes
=
10
,
...
...
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