Closed Brahmagupta closed 1 year ago
Hi, this might help you:
Hi, this might help you:
Thank you! ye adding 'confirm':'t' to the params argument in requests.Session().get() method in the download.py file did work
Changing from
response = session.get(url, params={'id': token_id}, stream=True)
to
response = session.get(url, params={'id': token_id, 'confirm':'t'}, stream=True)
This is just a minor issue, but I still want to bring it up.
When calling downlaod_from_google() method from ./data/download.py, the requests.Session().get(url, .......) method probably no longer returns any cookies (all I got is just an empty list) for PF-PASCAL and SPair-71k datasets, so no file is downloaded.
I checked the actual absolute url = https://docs.google.com/uc?export=download&id='file-id from download.py'. It gives a warning page saying that the file is too big that google cannot perform virus scan, and it asks you to confirm if you still want to download the file.
Seems like we still need to find another way to bypass the Google Drive Virus Scanning.
PS: there's a workaround though: just manually download the datasets into ../Datasets_CATs/. (Datasets_CATs/ needs to be in the parent folder of Volumetric-Aggregation-Transformer)