From 203ffb8324b711b776dafc4be7e47e74a4d7c24e Mon Sep 17 00:00:00 2001 From: risha-vijayvargiya-22 Date: Thu, 5 Mar 2026 15:23:36 +0000 Subject: [PATCH] chore: Migrate gsutil usage to gcloud storage --- ...rvised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/street_view_insights/notebooks/Supervised fine tuning/Supervised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb b/street_view_insights/notebooks/Supervised fine tuning/Supervised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb index d6c2d4f..33d0643 100644 --- a/street_view_insights/notebooks/Supervised fine tuning/Supervised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb +++ b/street_view_insights/notebooks/Supervised fine tuning/Supervised_fine_tuned_Gemini_based_lamp_identificationv2.ipynb @@ -93,7 +93,7 @@ "BUCKET_URI = f\"gs://{BUCKET_NAME}\"\n", "\n", "# Create the bucket if it doesn't exist\n", - "!gsutil ls -b {BUCKET_URI} || gsutil mb -l {LOCATION} -p {PROJECT_ID} {BUCKET_URI}" + "!gcloud storage ls --buckets {BUCKET_URI} || gcloud storage buckets create --location {LOCATION} --project {PROJECT_ID} {BUCKET_URI}" ] }, { @@ -105,7 +105,7 @@ "outputs": [], "source": [ "# Upload the training data to your bucket\n", - "!gsutil cp \"/Users/sarthakgy/Desktop/insights-samples/imagery_insights/notebooks/Supervised fine tuning/data/acquity_detector_negative_examples_v2.jsonl\" {BUCKET_URI}/data/" + "!gcloud storage cp \"/Users/sarthakgy/Desktop/insights-samples/imagery_insights/notebooks/Supervised fine tuning/data/acquity_detector_negative_examples_v2.jsonl\" {BUCKET_URI}/data/" ] }, {