how to resize my dataset segmentation including image datastore and pixellabeldastore
이전 댓글 표시
while training resnet50 on semantic segmentation Dataset i have this errot
The training images are of size 183×275×3 but the input layer expects images of size
640×640×3.
i want to resize my whole dataset (incluting both datastore)to 640x640x3
답변 (1개)
VINAYAK LUHA
2023년 9월 20일
0 개 추천
Hi Ahmad.
It is my understanding that the input layer of the resnet50 model expects data of dimensions 640x640x3, but your training images are of dimensions 183x275x3, hence you wish to know a workaround to resize your entire datastores to compatible format.
Refer to the following documentation on how to perform resize image and pixel label as part of semantic segmentation workflows https://www.mathworks.com/help/deeplearning/ug/augment-pixel-labels-for-semantic-segmentation.html#AugmentPixelLabelsForSemanticSegmentationExample-1
Regards,
Vinayak Luha
카테고리
도움말 센터 및 File Exchange에서 Semantic Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!