dlCHOMPDatastore
Datastore for training and validating deep-learning-based CHOMP optimizer
Since R2024a
Description
The dlCHOMPDatastore
object creates a custom datastore for training
and validating a dlCHOMP
object.
Use a dlCHOMPDatastore
object to manage a collection of data sample JSON files.
You can create a dlCHOMPDatastore
object, specify its properties, and then import
and process the data using the object functions of
dlCHOMPDatastore
.
Creation
Description
DS = dlCHOMPDatastore(
creates a DLCHOMP datastore that stores data sample JSON files with the specified
indices in the specified folder. The names of the JSON files must match the format
name_index.json, where index is a positive
integer specifying the index of the data sample.folderpath
,sampleidxs
)
[trainingDS,validationDS] = generateSamples(___)
generates training and validation data samples as dlCHOMPDatastore
objects for training with the trainDLCHOMP
function, using the input arguments from the previous syntax.
For more information about how to generate samples, see Train Deep-Learning-Based CHOMP Optimizer for Motion Planning.
The dlCHOMPDatastore
object requires Deep Learning Toolbox™.
Input Arguments
Properties
Object Functions
read | Read data from datastore |
readall | Read all data in datastore |
hasdata | Determine if data is available to read |
reset | Reset datastore to initial state |
preview | Preview subset of data in datastore |
progress | Determine how much data has been read |
combine | Combine data from multiple datastores |
transform | Transform datastore |
isPartitionable | Determine whether datastore is partitionable |
isSubsettable | Determine whether datastore is subsettable |
isShuffleable | Determine whether datastore is shuffleable |
Version History
Introduced in R2024a