Skip to content

Commit cfea5ab

Browse files
committed
Reduce batch size to avoid CUDA_ERROR_OUT_OF_MEMORY
1 parent 311e164 commit cfea5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/tensorflow_mnist/mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def serving_input_fn():
174174
train_input_fn = tf.estimator.inputs.numpy_input_fn(
175175
x={"x": train_data},
176176
y=train_labels,
177-
batch_size=100,
177+
batch_size=50,
178178
num_epochs=None,
179179
shuffle=True)
180180

0 commit comments

Comments
 (0)