From 343282b010123f0796b7a71597ac9675e2399d81 Mon Sep 17 00:00:00 2001 From: ywatanabe Date: Mon, 21 Oct 2024 22:12:13 +0900 Subject: [PATCH] chore: Remove wrapper --- Ch09/create_job.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 Ch09/create_job.sh diff --git a/Ch09/create_job.sh b/Ch09/create_job.sh deleted file mode 100755 index 9f3f1d6..0000000 --- a/Ch09/create_job.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -REGION=$(gcloud config get compute/region) -PROJECT_ID=$(gcloud config get core/project) -BUCKET_NAME=${PROJECT_ID}-jp -TRAIN_DATA=/gcs/${BUCKET_NAME}/flights/train.csv -EVAL_DATA=/gcs/${BUCKET_NAME}/flights/test.csv -OUTPUT_DIR=/gcs/${BUCKET_NAME}/flights/output/ -CONTAINER_IMAGE_URI=${REGION}-docker.pkg.dev/${PROJECT_ID}/${REPOS_NAME:-custom-training}/flights:${TAG:-$(git rev-parse HEAD)} -MACHINE_TYPE=n2-standard-4 - -gcloud ai custom-jobs create \ - --region=asia-northeast1 \ - --display-name=flights \ - --config=config.yaml \ - --args=--traindata="$TRAIN_DATA",--evaldata="$EVAL_DATA",--output="$OUTPUT_DIR" \ - --worker-pool-spec=replica-count=1,machine-type=${MACHINE_TYPE},container-image-uri="$CONTAINER_IMAGE_URI" -