Creating Datasets with CLI
Note: See Getting Started with Onepanel CLI for installation instructions
If you are creating a new dataset, use the
create command as follows:
onepanel datasets create <dataset-name>
This will create a new directory called
<dataset-name> and will create the respective dataset in Onepanel.
If you already have a directory with files,
cd into that directory and run the following command:
onepanel datasets init
This will create a Onepanel Dataset using the name of the directory.
You can then upload the contents of the directory to Onepanel by running:
onepanel push [-m <message>]
This will create the first version of your dataset.
Note: Every subsequent push will create a new version of your dataset.
onepanel datasets create cifar-10
tar -xvzf cifar-100-python.tar.gz
onepanel push -m 'pushing first version'