Google direct link download cloud disk dataset, use Google cloud disk to generate direct download url, example: NeRFStudio-nerfacto default training dataset poster download, nerfstudio dataset download link

1. How to generate the url of Google direct link download cloud disk dataset

 Google cloud disk NeRFStudio nerfacto default training data set poster download link:

https://drive.google.com/uc?export=download&confirm&id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1 https://drive.google.com/uc?export=download&confirm&id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1 We use scripts to download google cloud The following link interruption bugs often occur when the data set of the disk cannot be proxied:

For example, NeRFStudio downloads the poster dataset  ,

Run the command:

(nerfstudio) D:\NeRF\nerfstudio-main>ns-download-data nerfstudio --capture-name=poster

The error is as follows:

(nerfstudio) D:\NeRF\nerfstudio-main>ns-download-data nerfstudio --capture-name=poster
Traceback (most recent call last):
  File "D:\ProgramData\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "D:\ProgramData\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
    raise err
  File "D:\ProgramData\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
    sock.connect(sa)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

During handling of the above exception, another exception occurred:
。。。。。。。。。。。。。
Traceback (most recent call last):
  File "D:\ProgramData\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connectionpool.py", line 714, in urlopen

  File "D:\ProgramData\Anaconda3\envs\nerfstudio\lib\site-packages\requests\adapters.py", line 520, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnect
ion object at 0x0000022289258460>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。'))

Pay attention to the content of the error report, which contains the key content of the url that generates Google's direct link to download the cloud disk dataset

So we can download the fixed prefix of the straight chain according to

https://drive.google.com/uc?export=download&id=

The unique ID value of the spliced ​​file, the error statement contains the following prompts:

url: /uc?id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1

You can:

https://drive.google.com/uc?export=download&confirm&id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1 https://drive.google.com/uc?export=download&confirm&id=1dmjWGXlJnUxwosN6MVooCDQe970PkD-1%C2%A0

The above example is the download link of NeRFStudio's default training data set Poster, which can be downloaded with a proxy over the wall.

2. The official website of other dataset download links of nerfstudio is as follows:

Directory listing for /nerfstudio/https://data.nerf.studio/nerfstudio/

Guess you like

Origin blog.csdn.net/qq_35831906/article/details/131290730