What do I need to change in matlab example?

2 ビュー (過去 30 日間)
Adrian Kleffler
Adrian Kleffler 2023 年 5 月 22 日
コメント済み: Adrian Kleffler 2023 年 5 月 23 日
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
Sulaymon Eshkabilov 2023 年 5 月 22 日
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