how to resize my dataset segmentation including image datastore and pixellabeldastore
8 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
VINAYAK LUHA
2023 年 9 月 20 日
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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!