dividing groundtruth into training, testing and validation
2 次查看(过去 30 天)
显示 更早的评论
Hi, I have 800 images and labels in data set and I wanted to divide it into test, train and validation set.
I am using following code:
load gTruth % load gTruth file of training data
[imds,pxds] = pixelLabelTrainingData(gTruth);
imdsTrain=imds(81:720);
pxdsTrain=pxds(81:720);
imdsTest=imds(1:80);
pxdsTest=pxds(1:80);
imdsVal=imds(721:800);
pxdsVal=pxds(721:800);
its not working, any possible solution....?
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!