|
| DownloadDataset (const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="") |
|
| DownloadDataset (const std::string &prefix, const std::vector< DataDescriptor > &data_descriptors, const std::string &data_root="") |
|
virtual | ~DownloadDataset () |
|
| Dataset (const std::string &prefix, const std::string &data_root="") |
| Parameterized Constructor. More...
|
|
virtual | ~Dataset () |
|
const std::string | GetDataRoot () const |
| Get data root directory. The data root is set at construction time or automatically determined. More...
|
|
const std::string | GetPrefix () const |
| Get prefix for the dataset. More...
|
|
const std::string | GetDownloadDir () const |
| Get absolute path to download directory. i.e. ${data_root}/download/${prefix}. More...
|
|
const std::string | GetExtractDir () const |
| Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}. More...
|
|
Dataset class with one or more downloaded file.
- Parameters
-
prefix | Prefix of the dataset. The data is downloaded in ${data_root}/download/${prefix} and extracted in ${data_root}/extract/${prefix}. |
data_descriptor | Information about a file to be downloaded. |
data_root | Path to the dataset root. |