Datasets CLI
  • Dark
    Light
  • PDF

Datasets CLI

  • Dark
    Light
  • PDF

For a full command list go here

Prep

dlp shell #open the dtlpy shell
projects checkout --project-name "my project" #check out to a specific project

Create a Dataset

After creating your project, the next step is to update a Dataset - "my dataset"

datasets create --dataset-name "my dataset"

dataloop ci 1.gif


Checkout a Dataset


By running "checkout" on a dataset, every action from that point forward will be performed on the given dataset (this way you won’t need to repeat the dataset name for each action).


Once you checkout, every action you take will only apply to the specific dataset you're in
datasets checkout --dataset-name "my dataset" 

Tip

You may checkout a dataset using the --checkout  flag in the create command:

datasets create --dataset-name "my dataset" --checkout 

dataloop ci 1.gif


Verify Your Checkout State


Use this command to see which project/dataset you are in.

checkout-state

dataloop ci 3.png



What's Next