mobilenet

ValueError: `logits` and `labels` must have the same shape

ValueError: `logits` and `labels` must have the same shape Question: I’m trying to use Imagenet V2 with transfer-learning for multiclass classification (6 classes), but getting the following error. Can anyone please help? ValueError: `logits` and `labels` must have the same shape, received ((None, 6) vs (None, 1)). I borrowed this code from Andrew Ng’s CNN …

Total answers: 3