scale the images in conv_only RUN BENCHMARKS

This commit is contained in:
Peter Zhokhov
2018-08-08 15:15:03 -07:00
parent cc8c9541fb
commit 0899b71ede

View File

@@ -138,7 +138,7 @@ def conv_only(convs=[(32, 8, 4), (64, 4, 2), (64, 3, 1)], **conv_kwargs):
'''
def network_fn(X):
out = X
X = tf.cast(X, tf.float32) / 255.
with tf.variable_scope("convnet"):
for num_outputs, kernel_size, stride in convs:
out = layers.convolution2d(out,