Download Datasets
The download command is used to download all datasets specified. 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 sleepKIT dataset factory.
Using the CLI, the download command can be used to download specified datasets in the configuration file or directly in the command line.
sleepkit -m download -c '{"datasets": [{"name": "cmidss", "params": {"path": "./datasets/cmidss"}}]}'Python
Section titled “Python”In code, the download method of a dataset can be used to download the dataset.
import sleepkit as sk
ds = sk.DatasetFactory.get("cmidss")(path="./datasets/cmidss")ds.download()Arguments
Section titled “Arguments”Please refer to TaskParams for the list of arguments that can be used with the download command.