Function mindspore::dataset::KITTI
Defined in File datasets.h
Function Documentation
Function to create a KITTIDataset.
Note
When usage is ‘train’, the generated dataset has multi-columns, ‘image’, ‘label’, ‘truncated’, ‘occluded’, ‘alpha’, ‘bbox’, ‘dimensions’, ‘location’, ‘rotation_y’; When usage is ‘test’, the generated dataset has one column ‘image’.
- 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] Sampler object used to choose samples from the dataset.
cache – [in] Tensor cache to use (default=nullptr, which means no cache is used).
- Returns
Shared pointer to the current Dataset.