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
7b435df3
Commit
7b435df3
authored
Aug 21, 2017
by
Alan Yee
Committed by
GitHub
Aug 21, 2017
Browse files
Update MaskingNoiseAutoencoderRunner
Remove spacing according to PEP 8
parent
9a9a6643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
autoencoder/MaskingNoiseAutoencoderRunner.py
autoencoder/MaskingNoiseAutoencoderRunner.py
+6
-6
No files found.
autoencoder/MaskingNoiseAutoencoderRunner.py
View file @
7b435df3
...
...
@@ -9,7 +9,7 @@ from tensorflow.examples.tutorials.mnist import input_data
from
autoencoder_models.DenoisingAutoencoder
import
MaskingNoiseAutoencoder
mnist
=
input_data
.
read_data_sets
(
'MNIST_data'
,
one_hot
=
True
)
mnist
=
input_data
.
read_data_sets
(
'MNIST_data'
,
one_hot
=
True
)
def
standard_scale
(
X_train
,
X_test
):
...
...
@@ -32,11 +32,11 @@ batch_size = 128
display_step
=
1
autoencoder
=
MaskingNoiseAutoencoder
(
n_input
=
784
,
n_hidden
=
200
,
transfer_function
=
tf
.
nn
.
softplus
,
optimizer
=
tf
.
train
.
AdamOptimizer
(
learning_rate
=
0.001
),
dropout_probability
=
0.95
)
n_input
=
784
,
n_hidden
=
200
,
transfer_function
=
tf
.
nn
.
softplus
,
optimizer
=
tf
.
train
.
AdamOptimizer
(
learning_rate
=
0.001
),
dropout_probability
=
0.95
)
for
epoch
in
range
(
training_epochs
):
avg_cost
=
0.
...
...
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