Tensorflow-TCN icon indicating copy to clipboard operation
Tensorflow-TCN copied to clipboard

ValueError: The `padding` argument must be one of "valid", "same". Received: causal

Open kong-githu opened this issue 4 years ago • 1 comments

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

kong-githu avatar Apr 22 '20 08:04 kong-githu

Hi, have you found a solution of this problem, please?

Wonder227 avatar Dec 28 '20 12:12 Wonder227