inference for augmentedImageDatastore with 'OutputSiz​eMode','ra​ndcrop'

2 次查看(过去 30 天)
Hi,
Training and evaluating the CNN model has no issue for me if the image input size is the same or bit bigger which can be resize to be same with model input.
My problem is when training with the augmentedImageDatastore options of 'OutputSizeMode','randcrop' where it takes random crop(224x224x3) from the training images which apparently a lot bigger(say 4000x4000x3) then the model input size, i believe the the CNN model now become trained to classify cropped or patches of the original big images and not the class for the whole image.
So how do you correctly infer the whole image with the randcrop options?
thank you.

回答(0 个)

类别

Help CenterFile 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!

Translated by