Tensorflow-TCN
Tensorflow-TCN copied to clipboard
ValueError: The `padding` argument must be one of "valid", "same". Received: causal
Hello, because my network cannot download the mnist dataset, so I run it locally, the code is: ‘’‘’ mnist = input_data.read_data_sets ("MNIST_data /") x_train = mnist.train.images x_test = mnist.test.images y_train = mnist.train.labels y_test = mnist.test.labels x_train = x_train.reshape (-1, img_rows * img_cols, 1) .astype ('float32') / 255. x_test = x_test.reshape (-1, img_rows * img_cols, 1) .astype ('float32') / 255.‘’
But there is an error in the running result: ValueError: The padding
argument must be one of" valid "," same ". Received: causal
Why is this? Looking forward to your reply
Hi, have you found a solution of this problem, please?