pardata.dataset.Dataset.is_downloaded
- Dataset.is_downloaded()
Check to see if the dataset was downloaded. We determine this by comparing the extracted file tree with the file list
_file_list_file()(their existence, types, and sizes). In this way, if the extraction of the archive failed, this should returnFalseand the user would not be misled. For performance reasons, we do not examine the content of the extracted files.- Returns
Trueif the dataset has been downloaded andFalseotherwise.- Return type
Warning
is_downloaded()will search for the dataset files inDataset._data_dir(passed in viadata_dirin the constructorDataset). If after downloading, you manipulate the data files outside the control of this library, this method may produce unexpected behavior.