Yolov3 training with custom dataset
2 views (last 30 days)
Show older comments
Dear Community members
I was working on a object detection project on Yolov3 pretrained network. As mentioned here (https://www.mathworks.com/help/vision/ug/object-detection-using-yolo-v3-deep-learning.html) training and test data splitted.
unzip vehicleDatasetImages.zip
data = load('vehicleDatasetGroundTruth.mat');
vehicleDataset = data.vehicleDataset;
% Add the full path to the local vehicle data folder.
vehicleDataset.imageFilename = fullfile(pwd, vehicleDataset.imageFilename);
rng(0);
shuffledIndices = randperm(height(vehicleDataset));
idx = floor(0.6 * length(shuffledIndices));
trainingDataTbl = vehicleDataset(shuffledIndices(1:idx), :);
testDataTbl = vehicleDataset(shuffledIndices(idx+1:end), :);
Unlike given example I wanted to split my data 80 % for training data and the rest for test data. As I'm changing the (0.6) in the given code, I keep getting error of :
"Invalid transform function defined on the datastore".
Can you please help me with splitting my data?
Best regards,
Pooya.
1 Comment
Mahesh Taparia
on 4 Jun 2021
Hi
It seems you are getting error on a datastore. Can you share that part of the code where you defined a transformed function on a datastore?
Answers (0)
See Also
Categories
Find more on Genomics and Next Generation Sequencing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!