Yolov3 training with custom dataset

2 ビュー (過去 30 日間)
MirPooya Salehi Moharer
MirPooya Salehi Moharer 2021 年 5 月 25 日
コメント済み: Mahesh Taparia 2021 年 6 月 4 日
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 件のコメント
Mahesh Taparia
Mahesh Taparia 2021 年 6 月 4 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGenomics and Next Generation Sequencing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by