Last active
February 18, 2023 00:15
-
-
Save eileen-code4fun/e570b777e5aaecd085d2c1cc462270dd to your computer and use it in GitHub Desktop.
CIFAR10 HPT Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
studySpec: | |
metrics: | |
# Correspond to the metrics we use the hypertune library to report. | |
- metricId: val_accuracy | |
goal: MAXIMIZE | |
parameters: | |
# Correspond to the command line argument our Python code expects. | |
- parameterId: dropout_rate | |
doubleValueSpec: | |
minValue: 0.01 | |
maxValue: 0.9 | |
trialJobSpec: | |
workerPoolSpecs: | |
- machineSpec: | |
# Machines and GPUs: https://cloud.google.com/vertex-ai/docs/training/configure-compute#specifying_gpus | |
machineType: n1-standard-4 | |
acceleratorType: NVIDIA_TESLA_V100 | |
acceleratorCount: 2 | |
replicaCount: 1 | |
pythonPackageSpec: | |
# Executors: https://cloud.google.com/vertex-ai/docs/training/pre-built-containers | |
executorImageUri: us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-3:latest | |
packageUris: GCS_PATH_FOR_PYTHON_CODE | |
pythonModule: trainer.task | |
args: --epochs=50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment