Effacer les filtres
Effacer les filtres

Yolov3 training with custom dataset

8 vues (au cours des 30 derniers jours)
MirPooya Salehi Moharer
MirPooya Salehi Moharer le 25 Mai 2021
Commenté : Mahesh Taparia le 4 Juin 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 commentaire
Mahesh Taparia
Mahesh Taparia le 4 Juin 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur AI for Wireless dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by