scale the images in conv_only RUN BENCHMARKS
This commit is contained in:
@@ -138,7 +138,7 @@ def conv_only(convs=[(32, 8, 4), (64, 4, 2), (64, 3, 1)], **conv_kwargs):
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
def network_fn(X):
|
def network_fn(X):
|
||||||
out = X
|
X = tf.cast(X, tf.float32) / 255.
|
||||||
with tf.variable_scope("convnet"):
|
with tf.variable_scope("convnet"):
|
||||||
for num_outputs, kernel_size, stride in convs:
|
for num_outputs, kernel_size, stride in convs:
|
||||||
out = layers.convolution2d(out,
|
out = layers.convolution2d(out,
|
||||||
|
Reference in New Issue
Block a user