What do I need to change in matlab example?
    3 views (last 30 days)
  
       Show older comments
    
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 
0 Comments
Answers (1)
  Sulaymon Eshkabilov
      
 on 22 May 2023
        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
See Also
Categories
				Find more on Deep Learning Toolbox in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
