invalid training data the output size of the last layer (1000) does not match the number of classes (2)
2 次查看(过去 30 天)
显示 更早的评论
hi im using vgg16 app to classify images of CAT scan
and gives me this error
for training i have 1000 images of covid and 999 for non-covid
i have resized them all 100x100 but also the original images that are diffrent sizes gives me the same error
i tried to play with the network and add another calssify layer but couldnt connect the boxes
(im new to this and have no idea what im doing)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!