-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch_cloud.sh
23 lines (20 loc) · 1.01 KB
/
launch_cloud.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
DATASET_FILE=gs://msync-bucket/datasets/BACH10/MSYNC-bach10.tfrecord
DATASET_AUDIO_DIR=gs://msync-bucket/datasets/BACH10/Audio/
LOG_DIR=gs://msync-bucket/logs/MSYNC/
EPOCHS=50
JOB_NAME=msyncteste3
gcloud ml-engine jobs submit training $JOB_NAME \
--stream-logs \
--runtime-version 1.10 \
--python-version 3.5 \
--job-dir $LOG_DIR \
--package-path trainer \
--module-name trainer.msync \
--region europe-west1 \
--scale-tier basic \
-- \
--dataset_file $DATASET_FILE \
--dataset_audio_dir $DATASET_AUDIO_DIR \
--logdir $LOG_DIR \
--epochs $EPOCHS