Exemplo n.º 1
0
def _download_and_process_emnist():
    metadata = toml.load(METADATA_FILENAME)
    curdir = os.getcwd()
    os.chdir(RAW_DATA_DIRNAME)
    _download_raw_dataset(metadata)
    _process_raw_dataset(metadata['filename'])
    os.chdir(curdir)
Exemplo n.º 2
0
 def _download_iam(self):
     curdir = os.getcwd()
     os.chdir(RAW_DATA_DIRNAME)
     _download_raw_dataset(self.metadata)
     _extract_raw_dataset(self.metadata)
     os.chdir(curdir)