I have 297 Grayscale images (Drone) and I would Like Divide Them into 3 parts (train-test and validation) for Object Detection Using Faster R-CNN method and I used SplitEachLabel Command in Matlab2018a but after write below codes:
imds = imageDatastore('C:\Users\hosein\My Documents\MATLAB\DroneImages');
[trainds,testds,valds] = splitEachLabel(imds,0.6,0.2,'randomized');
matlab showed error: "Input folders or files contain non-standard file extensions.Use FileExtensions Name-Value pair to include the non-standard file extensions."
and when I wrote this code:
[trainds,testds,valds] = splitEachLabel(imds,0.6,0.2)
matlab showed error:"splitEachLabel requires non-empty Labels property.."
2 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/433985-spliteachlabel-error-for-divide-images-into-train-and-test-data-for-faster-r-cnn#comment_647271
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/433985-spliteachlabel-error-for-divide-images-into-train-and-test-data-for-faster-r-cnn#comment_647271
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/433985-spliteachlabel-error-for-divide-images-into-train-and-test-data-for-faster-r-cnn#comment_918538
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/433985-spliteachlabel-error-for-divide-images-into-train-and-test-data-for-faster-r-cnn#comment_918538
Sign in to comment.