Semantic segmentation when the labels are in a matrix

조회 수: 1 (최근 30일)
Gili
Gili 2018년 5월 23일
I'm trying to perform semantic segmentation with segnet using
lgraph = segnetLayers(imageSize,numClasses,encoderDepth);
And my dataset is in the form of matrixes and not of images.
I keep getting an error message from trainNetwork:
"Invalid training data. Y must be a vector of categorical responses."
I don't understand how to format the labels as vectors when the segmentation is pixel-wise! The output has as many pixels as the input and not a single catagory. All the examples are for reading from files..
Thanks in advance to anyone who can help..

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by