waymax
waymax copied to clipboard
Unable to access dataset
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 `