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

Unable to access dataset #29

Open
binshi opened this issue Oct 31, 2023 · 3 comments
Open

Unable to access dataset #29

binshi opened this issue Oct 31, 2023 · 3 comments

Comments

@binshi
Copy link

binshi commented Oct 31, 2023

Despite registering multiple times, the dataset cannot be accessed in gcloud.

---------------------------------------------------------------------------
PermissionDeniedError                     Traceback (most recent call last)
[<ipython-input-4-3585dad5ed34>](https://localhost:8080/#) in <cell line: 7>()
      5 print(config)
      6 data_iter = dataloader.simulator_state_generator(config=config)
----> 7 scenario = next(data_iter)

5 frames
[/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/ops.py](https://localhost:8080/#) in raise_from_not_ok_status(e, name)
   5886 def raise_from_not_ok_status(e, name) -> NoReturn:
   5887   e.message += (" name: " + str(name if name is not None else ""))
-> 5888   raise core._status_to_exception(e) from None  # pylint: disable=protected-access
   5889 
   5890 

PermissionDeniedError: {{function_node __wrapped__IteratorGetNext_output_types_31_device_/job:localhost/replica:0/task:0/device:CPU:0}} 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>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).</Details></Error>'
	 when reading gs://waymo_open_dataset_motion_v_1_0_0/uncompressed/tf_example/validation/validation_tfexample.tfrecord-00000-of-00150 [Op:IteratorGetNext] name:```

From gcloud:

` Additional permissions required to list objects in this bucket. Ask a bucket owner to grant you 'storage.objects.list' permission. Learn more `
@DA21S321D
Copy link

same

@justinjfu
Copy link
Contributor

Hi All,

Could you try some of the steps in #30 (comment) and see if they resolve the issue? And it would be appreciated if you report back if they work so we can compile an FAQ for these access issues.

@binshi
Copy link
Author

binshi commented Nov 3, 2023

Hi All,

Could you try some of the steps in #30 (comment) and see if they resolve the issue? And it would be appreciated if you report back if they work so we can compile an FAQ for these access issues.

Tried the steps, but still unable to access the datasets.

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

3 participants