ml-on-gcp icon indicating copy to clipboard operation
ml-on-gcp copied to clipboard

Use regional ML API endpoint in ai-explanations-image.ipynb

Open davidxia opened this issue 4 years ago • 4 comments

and fix a few other commands.

  • Use a regional ML API endpoint instead of global.
    • N1 VMs aren't available in global.
    • Must also specify the region later when creating the model version to prevent a not found error.
  • Use the parameterized REGION instead of hardcoded us-central1 strings.
  • Use mkdir -p flowers instead of mkdir flowers to not fail if the dir already exists.

TODO: this notebook doesn't run successfully yet because of this issue: https://github.com/GoogleCloudPlatform/ml-on-gcp/issues/133

davidxia avatar Oct 14 '21 21:10 davidxia

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sararob @dizcology

davidxia avatar Oct 15 '21 02:10 davidxia

hi, just wondering if this PR looks good or if there's other next steps

davidxia avatar Oct 20 '21 13:10 davidxia

@sararob @dizcology lmk if you're still the right people to ask to review this PR or if I should ask others. Thanks!

davidxia avatar Oct 28 '21 14:10 davidxia