Clear Filters
Clear Filters

Neural network training combine data store 2018

6 views (last 30 days)
Hi,
I'm stuck with 2018b do to work restrictions, I'm trying to build a image classification network, i have all my images segmented and also bounding boxes with a gTruth file.
I need to train the network following a tutorial it
trainingData = combine(imds,pxds)
net = trainingNetwork(trainingData,layers,options)
I run into a problem ive got my image data store - imds and PixelDatastore pxds but the command combione is not supported in 2018b
any help how to procced
kind regards
Tim

Answers (1)

Ramtej
Ramtej on 18 Jan 2024
Hi Tim,
I assume you are referring to pixel label datastore by the term "PixelDatastore" and image datastore, pixel label datastore are stored in the variables "imds" and "pxds" respectively.
You can leverage the "pixelLabelImageDatastore" function to create a datastore based on the input image datastore and the pixel label datastore as shown below:
trainingData = pixelLabelImageDatastore(imds,pxds);
Refer to the below documentation for the detailed instructions and limitations of the "pixelLableImageDatastore" function.
Hope this resolves your query!

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!