Skip to content

Instantly share code, notes, and snippets.

@atemate
Last active December 1, 2019 10:16
Show Gist options
  • Save atemate/2f6a23639c79c0b1027130c0f5956a75 to your computer and use it in GitHub Desktop.
Save atemate/2f6a23639c79c0b1027130c0f5956a75 to your computer and use it in GitHub Desktop.
# Image with gsutil:
`image://artemyushkovskiy/neuromation/base-gsutil:latest`
# Run a job, mount storage's volume to `/home`:
`neuro run -s cpu-small -n soro -v storage:ru_open_stt_wav:/home:rw neuromation/base "sleep infinity"`
# Download data to storage:
`gsutil cp -r gs://ru_open_stt_wav /home`
# Extract tar.gz's
`tar xvzf asr_calls_2_val.tar.gz /home/ru_open_stt_wav/asr_calls_2_val/ && rm asr_calls_2_val.tar.gz`
...
(in for loop or manually but in parallel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment