keras-finetuning
keras-finetuning copied to clipboard
ValueError: NumpyArrayIterator is set to use the data format convention "channels_last"
ValueError: NumpyArrayIterator is set to use the data format convention "channels_last" (channels on axis 3), i.e. expected either 1, 3 or 4 channels on axis 3. However, it was passed an array with shape (80, 3, 224, 224) (224 channels).
I can load dataset and model successfully, but I can't find the answer online. I run the code in windows7, and I modify the code, so I don't know the reason. Is this a problem with data processing?
google: channels_last channels_first;keras version