ValueError: Arguments `target` and `output` must have the same rank (ndim)
I’ve been testing a code (“main.py”) for image classification using a CNN model lately (whetehr a picture is a cat or a dog), and I’ve kept getting this error:
I’ve been testing a code (“main.py”) for image classification using a CNN model lately (whetehr a picture is a cat or a dog), and I’ve kept getting this error: