Yolov3 training with custom dataset

2 visualizzazioni (ultimi 30 giorni)
MirPooya Salehi Moharer
MirPooya Salehi Moharer il 25 Mag 2021
Commentato: Mahesh Taparia il 4 Giu 2021
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 Commento
Mahesh Taparia
Mahesh Taparia il 4 Giu 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Genomics and Next Generation Sequencing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by