Closed craine closed 3 years ago
Thanks. I'll file a request to get ListPermissions added to the bucket.
Meanwhile, you can workaround this by hardcoding the class names:
CLASS_NAMES = ['daisy', 'dandelion', 'roses', 'sunflowers', 'tulips']
I changed the bucket used. If you update your github repo, the notebook should work now.
Still, this issue is occurring. I am not able to work with the notebook.
PermissionDeniedError: Error executing an HTTP request: HTTP response code 403 with body '<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>There is an account problem for the requested project.</Details></Error>' when reading gs://practical-ml-vision-book/flowers_5_jpeg/flower_photos/daisy/754296579_30a9ae018c_n.jpg [Op:ReadFile]
Yes, public access to the bucket seems to have been turned off. We are looking into it
thanks, Lak
On Thu, Jun 1, 2023, 12:38 PM VaneeshK @.***> wrote:
Still, this issue is occurring. I am not able to work with the notebook. PermissionDeniedError: Error executing an HTTP request: HTTP response code 403 with body '<?xml version='1.0' encoding='UTF-8'?>
' when reading gs://practical-ml-vision-book/flowers_5_jpeg/flower_photos/daisy/754296579_30a9ae018c_n.jpg [Op:ReadFile] AccessDenied
Access denied. There is an account problem for the requested project.— Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/practical-ml-vision-book/issues/2#issuecomment-1571886943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANJPZZCWGQ75H3CILKMG5LXJB5MRANCNFSM5BJ6RBMA . You are receiving this because you modified the open/close state.Message ID: <GoogleCloudPlatform/practical-ml-vision-book/issues/2/1571886943@ github.com>
In Chapter Two I'm trying to run this: CLASS_NAMES = [item.numpy().decode("utf-8") for item in tf.strings.regex_replace( tf.io.gfile.glob("gs://cloud-ml-data/img/flower_photos/*"), "gs://cloud-ml-data/img/flower_photos/", "")] CLASS_NAMES = [item for item in CLASS_NAMES if item.find(".") == -1]
Looks like I don't have permission to grab these?
PermissionDeniedError Traceback (most recent call last)