From 4c90cfaed34f9978e721b84a581c45dac710fad1 Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Fri, 6 Mar 2026 14:28:31 +0000 Subject: [PATCH] chore: Migrate gsutil usage to gcloud storage --- ddsp/colab/demos/pitch_detection.ipynb | 2 +- ddsp/training/gin/papers/icml2020/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ddsp/colab/demos/pitch_detection.ipynb b/ddsp/colab/demos/pitch_detection.ipynb index eea67b46..a759bfaf 100644 --- a/ddsp/colab/demos/pitch_detection.ipynb +++ b/ddsp/colab/demos/pitch_detection.ipynb @@ -308,7 +308,7 @@ " os.makedirs(PRETRAINED_DIR, exist_ok=True)\n", " GCS_CKPT_DIR = 'gs://ddsp-inv/ckpts'\n", " model_dir_gcs = os.path.join(GCS_CKPT_DIR, '%s_ckpt' % args.model.lower())\n", - " os.system(f'gsutil cp {model_dir_gcs}/* {PRETRAINED_DIR}')\n", + " os.system(f'gcloud storage cp {model_dir_gcs}/* {PRETRAINED_DIR}')\n", " model_dir = PRETRAINED_DIR\n", "\n", " # Find checkpoint\n", diff --git a/ddsp/training/gin/papers/icml2020/README.md b/ddsp/training/gin/papers/icml2020/README.md index 2dafe995..9fd9bd6c 100644 --- a/ddsp/training/gin/papers/icml2020/README.md +++ b/ddsp/training/gin/papers/icml2020/README.md @@ -87,7 +87,7 @@ A pretrained model on 1.2M steps (batch size=64) of synthetic data [is available or on GCP. ```bash -gsutil cp -r gs://ddsp-inv/ckpts/synthetic_pretrained_ckpt /path/to/synthetic_pretrained_ckpt +gcloud storage cp --recursive gs://ddsp-inv/ckpts/synthetic_pretrained_ckpt /path/to/synthetic_pretrained_ckpt ``` ```bash