Class KITTIDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
Class Documentation
-
class KITTIDataset : public mindspore::dataset::Dataset
A source dataset that reads KITTI images and labels.
Public Functions
Constructor of KITTIDataset.
- Parameters
dataset_dir – [in] Path to the root directory that contains the dataset.
usage – [in] The type of data file to read.
decode – [in] Decode the images after reading.
sampler – [in] Shared pointer to a sampler object used to choose samples from the dataset.
cache – [in] Tensor cache to use.
Constructor of KITTIDataset.
- Parameters
dataset_dir – [in] Path to the root directory that contains the dataset.
usage – [in] The type of data file to read.
decode – [in] Decode the images after reading.
sampler – [in] Shared pointer to a sampler object used to choose samples from the dataset.
cache – [in] Tensor cache to use.
Constructor of KITTIDataset.
- Parameters
dataset_dir – [in] Path to the root directory that contains the dataset.
usage – [in] The type of data file to read.
decode – [in] Decode the images after reading.
sampler – [in] Shared pointer to a sampler object used to choose samples from the dataset.
cache – [in] Tensor cache to use.
-
~KITTIDataset() override = default
Destructor of KITTIDataset.