Download Datasets
Introduction
The download
command is used to download specified datasets. Please refer to Datasets for details on the available datasets. Additional datasets can be added by creating a new dataset class and registering it with HeartKit dataset factory, DatasetFactory.
Usage
CLI
Using the CLI, the download
command can be used to download specified datasets in the configuration file or directly in the command line.
heartkit -m download -c '{"datasets": [{"name": "ptbxl", "parameters": {"path": ".datatasets/ptbxl"}}]}'
Python
In code, the download
method of a dataset can be used to download the dataset.
Similarly, to download multiple datasets, the download
method of a task can be used.
Arguments
Please refer to HKTaskParams for the available configuration options for the download
command.