cocodataset / cocoapi

COCO API - Dataset @ http://cocodataset.org/
Other
6.05k stars 3.75k forks source link

Unable to download annotations #216

Open nwsterling opened 5 years ago

nwsterling commented 5 years ago

Hello. I suspect that this may be a basic issue, but I have tried searching for an answer with no luck. When I try to download the annotations, I get the following errors...

$ gsutil -m rsync gs://images.cocodataset.org/annotations /home/nick/annot
...
Building synchronization state...
Starting synchronization...
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/panoptic_annotations_trainval2017.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/stuff_annotations_trainval2017.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/annotations_trainval2014.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/image_info_test2015.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/annotations_trainval2017.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/image_info_test2017.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/image_info_test2014.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/image_info_unlabeled2017.zip.
ServiceException: 401 Anonymous caller does not have storage.objects.get access to images.cocodataset.org/annotations/stuff_image_info_test2017.zip.
CommandException: 9 files/objects could not be copied/removed.

It looks like it is expecting credentials to download. I would appreciate it so much if anyone could point me in the right direction. Thank you!

Nick

medhini commented 5 years ago

Facing the same issue!

Tzeusy commented 5 years ago

Faced the same problem, looks like it's a credentials setting on their end...

I circumvented by directly using wget on the url, e.g. wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip

supercgeek commented 5 years ago

I'm having the same problem. :(

keyitotallyojbk commented 5 years ago

Still unsolved...

benjaminabruzzo commented 5 years ago

Still unsolved...

zanedurante commented 5 years ago

Still unsolved...

maxfiedler commented 5 years ago

same issue

timovii commented 5 years ago

Same issue.

Deeptanshu-sankhwar commented 4 years ago

Check for firewall access, maybe its blocking gsutil. wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip worked for me !!

YusukeSuzuki commented 4 years ago

same issue

Nogbit commented 4 years ago

This is not an issue with end users and is the result of broken permissions on the GCS buckets they are using. The command gsutil cp requires storage.objects.list as one can see in the docs.

The errors we get are ...does not have storage.objects.list access to the Google Cloud Storage bucket

Until they update the IAM on their bucket we will all have this problem.

sayakpaul commented 4 years ago

Same. I get -

AccessDeniedException: 403 mail@gmail.com does not have storage.objects.list access to the Google Cloud Storage bucket.