There is also some sample code on this thread that shows how to use np.random.permutation to split up a dataset.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Week4 Lab1: ValueError: Input 0 of layer sequential is incompatible with the layer: : expected min_ndim=3, found ndim=2. Full shape received: (None, None) | 4 | 580 | August 5, 2022 | |
HELP! Incorrect shape error Transfer Learning | 3 | 34 | July 14, 2024 | |
Failed test case: first layer of the model has incorrect input shape. Expected: (None, 28, 28), but got: (32, 28, 28) | 14 | 745 | April 19, 2022 | |
C4 W2 A2 input layer shape does not match with expected | 6 | 490 | May 2, 2023 | |
ValueError when running the ungraded lab on my personal computer | 3 | 565 | June 30, 2022 |