push

Description of the "darwin dataset push" option from the CLI

Pushes local data to a RemoteDataset. This data can either be images or videos.

$darwin dataset push planes home/user/planes/
                                                                                                                                                                                                                   
/home/user/planes/171011-airplane-mn-1440.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% 2.3/2.3 MB   β€’ 6.0 MB/s  β€’ 0:00:00                                                                                  
      /home/user/planes/r1498112_22099023.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% 58.8/58.8 KB β€’ 90.6 MB/s β€’ 0:00:00                                                                                  
Total progress ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 of 2                                                                                                                                                     

All 2 files have been successfully uploaded.

Positional arguments:

  • dataset: [Remote] Dataset name: to list all the existing dataset, run 'darwin dataset remote'.
  • files: Files to upload.

Optional arguments:

  • -e EXCLUDE [EXCLUDE ...], --exclude EXCLUDE [EXCLUDE ...]: Excludes the files with the specified extension/s if a data folder is provided as data path.
  • -f FPS, --fps FPS: Frames per second for video split (recommended: 1). Use 'native' to use the video's intrinsic fps.
  • --frames: Push a video as independent frames (images).
  • --path PATH: Folder directory in the dataset to upload the files into, or
  • -p, --preserve-folders: Preserves the local folder structure in the dataset. Takes precedence over directory defined with --path PATH

πŸ“˜

Verbose mode

This command benefits from the --verbose flag. Use this as an optional argument to see the details of the operation.

Imagining we have a brand new RemoteDataset called "cars", which is originally empty, we could push files to this RemoteDataset as demonstrated below:

1396

Next up

Having trouble understanding the docs? Have a refresh on V7 Concepts!