What do I need to change in matlab example?

1 次查看(过去 30 天)
Hello, I want to train ssd object detector with own dataset of 1865 images… what do i have to change in the code in this example to run the code corectly? https://www.mathworks.com/help/deeplearning/ug/object-detection-using-ssd-deep-learning.html

回答(1 个)

Sulaymon Eshkabilov
If you look at carefully to the documentation, it states explicitly that you'd need to load your data:
...
data = load('vehicleDatasetGroundTruth.mat');
vehicleDataset = data.vehicleDataset;
That means what you should do is to create data store of your images: see DOC how to create data store images.
Step 1. Create a data store from your images using: imageDatastore()
Step 2. Load your created data store (Optional: to create one .mat file and then load the file is optional. Only if you want to keep/store all your created data sets in one *.mat file)
Step 3. Start simulation
  1 个评论
Adrian Kleffler
Adrian Kleffler 2023-5-23
Hello Sulaymon, yes that’s what i already did. But is there anything else what i need to change? Don’t I have to change the values of anchor boxes somehow? Or can I leave them like it is shown in example?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by