Structured data prediction using Vertex AI Platform Reviews
8097 reviews
Tristan L. · Reviewed 5 months ago
ERROR: (gcloud.ai-platform.jobs.submit.training) FAILED_PRECONDITION: Constraint `constraints/gcp.resourceLocations` violated for `projects/qwiklabs-gcp-00-0ac1d33a0acf`: region `us-central1` not allowed. See https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations for details. - '@type': type.googleapis.com/google.rpc.PreconditionFailure violations: - description: 'Constraint `constraints/gcp.resourceLocations` violated for `projects/qwiklabs-gcp-00-0ac1d33a0acf`: region `us-central1` not allowed. See https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations for details.' subject: orgpolicy:projects/qwiklabs-gcp-00-0ac1d33a0acf type: constraints/gcp.resourceLocations --------------------------------------------------------------------------- CalledProcessError Traceback (most recent call last) Cell In[21], line 1 ----> 1 get_ipython().run_cell_magic('bash', '', '\nOUTDIR=gs://${BUCKET}/babyweight/trained_model\nJOBID=babyweight_$(date -u +%y%m%d_%H%M%S)\n\ngcloud ai-platform jobs submit training ${JOBID} \\\n --region=${REGION} \\\n --module-name=trainer.task \\\n --package-path=$(pwd)/babyweight/trainer \\\n --job-dir=${OUTDIR} \\\n --staging-bucket=gs://${BUCKET} \\\n --master-machine-type=n1-standard-8 \\\n --scale-tier=CUSTOM \\\n --runtime-version=${TFVERSION} \\\n --python-version=${PYTHONVERSION} \\\n -- \\\n --train_data_path=gs://${BUCKET}/babyweight/data/train*.csv \\\n --eval_data_path=gs://${BUCKET}/babyweight/data/eval*.csv \\\n --output_dir=${OUTDIR} \\\n --num_epochs=10 \\\n --train_examples=10000 \\\n --eval_steps=100 \\\n --batch_size=32 \\\n --nembeds=8\n') File /opt/conda/lib/python3.10/site-packages/IPython/core/interactiveshell.py:2517, in InteractiveShell.run_cell_magic(self, magic_name, line, cell) 2515 with self.builtin_trap: 2516 args = (magic_arg_s, cell) -> 2517 result = fn(*args, **kwargs) 2519 # The code below prevents the output from being displayed 2520 # when using magics with decorator @output_can_be_silenced 2521 # when the last Python token in the expression is a ';'. 2522 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False): File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/script.py:154, in ScriptMagics._make_script_magic.<locals>.named_script_magic(line, cell) 152 else: 153 line = script --> 154 return self.shebang(line, cell) File /opt/conda/lib/python3.10/site-packages/IPython/core/magics/script.py:314, in ScriptMagics.shebang(self, line, cell) 309 if args.raise_error and p.returncode != 0: 310 # If we get here and p.returncode is still None, we must have 311 # killed it but not yet seen its return code. We don't wait for it, 312 # in case it's stuck in uninterruptible sleep. -9 = SIGKILL 313 rc = p.returncode or -9 --> 314 raise CalledProcessError(rc, cell) CalledProcessError: Command 'b'\nOUTDIR=gs://${BUCKET}/babyweight/trained_model\nJOBID=babyweight_$(date -u +%y%m%d_%H%M%S)\n\ngcloud ai-platform jobs submit training ${JOBID} \\\n --region=${REGION} \\\n --module-name=trainer.task \\\n --package-path=$(pwd)/babyweight/trainer \\\n --job-dir=${OUTDIR} \\\n --staging-bucket=gs://${BUCKET} \\\n --master-machine-type=n1-standard-8 \\\n --scale-tier=CUSTOM \\\n --runtime-version=${TFVERSION} \\\n --python-version=${PYTHONVERSION} \\\n -- \\\n --train_data_path=gs://${BUCKET}/babyweight/data/train*.csv \\\n --eval_data_path=gs://${BUCKET}/babyweight/data/eval*.csv \\\n --output_dir=${OUTDIR} \\\n --num_epochs=10 \\\n --train_examples=10000 \\\n --eval_steps=100 \\\n --batch_size=32 \\\n --nembeds=8\n'' returned non-zero exit status 1.
Carlos Fernando S. · Reviewed 5 months ago
All graded tasks are completing. However, the issue is in the notebook, showing errors during the deployment..
Arnel Perez P. · Reviewed 5 months ago
The deploy code had a problem with the region
Abimael A. · Reviewed 5 months ago
Angeline J. · Reviewed 5 months ago
Ana A M. · Reviewed 5 months ago
Klaudia K. · Reviewed 5 months ago
Showkat H. · Reviewed 5 months ago
Azeez Ikramur R. · Reviewed 5 months ago
Krish A. · Reviewed 5 months ago
Babu .. · Reviewed 5 months ago
Mohamed A. · Reviewed 5 months ago
Daniel M. · Reviewed 5 months ago
sree S. · Reviewed 5 months ago
good
Sudharsane S. · Reviewed 5 months ago
The used Python version (3.7) is ancient and has run out of support. The command to start training fails with ERROR: (gcloud.ai-platform.jobs.submit.training) FAILED_PRECONDITION: Constraint `constraints/gcp.resourceLocations` violated for `projects/qwiklabs-gcp-04-7515c88bd99e`: region `us-east1` not allowed. See https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations for details.
Paul G. · Reviewed 5 months ago
Meghana K. · Reviewed 5 months ago
Sriram S. · Reviewed 5 months ago
黃洋臺 W. · Reviewed 5 months ago
not updated to use vertex ai job submit
Abraham T. · Reviewed 5 months ago
Rustem C. · Reviewed 5 months ago
Silvina H. · Reviewed 5 months ago
ARTI M. · Reviewed 5 months ago
Sharlynn T. · Reviewed 5 months ago
Alan Y. · Reviewed 5 months ago
We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.