I am trying to run cifar10_train.py according to tutorials, but I got
cifar10_train.py
\"cifar10_input.py\", line 87, in read_cifar10 tf.strided_slice(record_by
Replace a line
tf.strided_slice(record_bytes, [0], [label_bytes]), tf.int32)
to the line:
tf.strided_slice(record_bytes, [0], [label_bytes], [1]), tf.int32)
and a line in the next operator
[label_bytes + image_bytes]),
to the line
[label_bytes + image_bytes], [1]),
It works for me.