New with Tensorflow, I'm using neural networks to classify images. I've got a Tensor
that contains images, of shape [N, 128, 128, 1]
(N images 128x128 with 1 channel), and a Tensor
of shape [N]
that contains the labels of the images.
I want to shuffle it all and split it between training and testing tensors (let's say 80%-20%). I didn't find a way to 'zip' my tensors to associate each image with its label (in order to shuffle images and labels the same way). Is it possible ? If not, how can I achieve that shuffling/splitting job ?
Thanks for any help !