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 CenterFile Exchange에서 AI for Wireless에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by