How to perform Faster RCNN on my own dataset in Matlab?

4 views (last 30 days)
I am using Matlab Faster RCNN example which use its own dataset (Vehicle dataset). I want to use my own dataset to train Faster RCNN. Can anyone please let me know how can I load my own dataset? I have also created ground truth.
I have confusion here. How can I add my own data here?
data = load('fasterRCNNVehicleTrainingData.mat');
trainingData = data.vehicleTrainingData; trainingData.imageFilename = fullfile(toolboxdir('vision'),'visiondata', ... t
  1 Comment
Hayat  Bouchkouk
Hayat Bouchkouk on 22 Mar 2020
hi Ibrahim Hassan Syed
i have a same problem with dataset can i help me how can i load coco dataset in matlab?plizz

Sign in to comment.

Answers (2)

Sourav Bairagya
Sourav Bairagya on 14 Feb 2020
After you prepared ground truth from your dataset, load that ground truth data. Now, extract the training data from that ground truth object. This training data is stored in a two-column table format, where the first column contains the image file paths and the second column contains the vehicle bounding boxes.
data = load('fasterRCNNVehicleTrainingDataGroundTruth.mat');
vehicleDataset = data.vehicleTrainingData;
Now, you can follow the steps as mentioned in this following example for arranging your dataset for training.

Is your issue solved? I'm having the same issue. Can you please help?
Thank you

Community Treasure Hunt

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

Start Hunting!