Skip to content

Commit 6ac0a8b

Browse files
No public description
PiperOrigin-RevId: 832473685
1 parent deade7e commit 6ac0a8b

File tree

1 file changed

+8
-7
lines changed
  • official/projects/waste_identification_ml/llm_applications/milk_pouch_detection

1 file changed

+8
-7
lines changed

official/projects/waste_identification_ml/llm_applications/milk_pouch_detection/deploy.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ export REPO_NAME="milk-pouch-classification-repo"
5454
# Name of the container image and Cloud Run service
5555
export IMAGE_NAME="milk-pouch-classification-service"
5656

57-
# [Input] GCS Bucket name for uploading original images
58-
export SOURCE_BUCKET_NAME="milk-pouch-classification-uploads"
59-
60-
# [Output] GCS Bucket name for storing annotated images
61-
export DESTINATION_BUCKET_NAME="milk-pouch-classification-annotated"
62-
6357
# [Output] Name of the BigQuery Dataset
6458
export BQ_DATASET="milk_pouch_classification"
6559

@@ -109,6 +103,13 @@ if [[ "${DEVICE}" != "cpu" && "${DEVICE}" != "gpu" ]]; then
109103
exit 1
110104
fi
111105

106+
# [Input] GCS Bucket name for uploading original images
107+
export SOURCE_BUCKET_NAME="milk-pouch-classification-uploads-${PROJECT_ID}"
108+
109+
# [Output] GCS Bucket name for storing annotated images
110+
export DESTINATION_BUCKET_NAME="milk-pouch-classification-annotated-${PROJECT_ID}"
111+
112+
112113
echo "🚀 Starting deployment for a '${DEVICE}' configuration..."
113114
echo ""
114115

@@ -171,7 +172,7 @@ echo "✅ Step 3: Create BigQuery Dataset and Table..."
171172
bq --location=US mk --dataset "${PROJECT_ID}:${BQ_DATASET}" \
172173
|| echo "Dataset '${BQ_DATASET}' already exists."
173174
bq mk --table "${PROJECT_ID}:${BQ_DATASET}.${BQ_TABLE}" \
174-
./milk_pouch_results_schema.json \
175+
./src/milk_pouch_results_schema.json \
175176
|| echo "Table '${BQ_TABLE}' already exists."
176177
echo "BigQuery resources are ready."
177178
echo ""

0 commit comments

Comments
 (0)