Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai-explanations-image.ipynb cannot download files from gs://flowers_model/test_flowers #133

Open
davidxia opened this issue Oct 14, 2021 · 0 comments

Comments

@davidxia
Copy link

The cell in ai-explanations-image.ipynb that has !gsutil -m cp gs://flowers_model/test_flowers/* ./flowers throws the following error. I think this public bucket should have storage.objects.list permission for everyone as well.

AccessDeniedException: 403 [email protected] does not have storage.objects.list access to the Google Cloud Storage bucket.
CommandException: 1 file/object could not be transferred.
davidxia added a commit to davidxia/ml-on-gcp that referenced this issue Oct 14, 2021
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:
GoogleCloudPlatform#133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant