Hi all,
The Y data (train and test) is missing in the files train_signs.h5 and test_signs.h5.
I have printed the shapes right after reading the files.
Any ideas?
Hi @Eli_Tom ,
I am not sure if we are on the same page, but if you go to item 2, it shows how to extract both y_train and y_test using tensorflow datasets.
Keep learning!
Hi @carlosrl,
Thank you for your answer.
I am extracting the Y test and train the same way I do with the X test and train.
Actually, this part of the code is provided in the exercise.
Can you send me an updated version of the files?
Why do you think that is wrong? It’s just telling you that each Y value is a scalar. It’s the label corresponding the image, right? Each image is a (64, 64, 3) Tensor, but the labels are just scalars. Or you can call them “rank 0” tensors, if you want to go full “tensor speak”.
If you look at the next few cells, you’ll see one that enumerates the Y values and collects all the unique values. They are the numbers 0 to 5 and they then show you examples of the images and corresponding labels.