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

Download scripts fail with socket.timeout #44

Open
janbechtold opened this issue Mar 31, 2023 · 4 comments
Open

Download scripts fail with socket.timeout #44

janbechtold opened this issue Mar 31, 2023 · 4 comments

Comments

@janbechtold
Copy link

When running the example download scripts, e.g.

omnitools.download rgb depth_euclidean mask_valid \
    --components taskonomy replica \
    --subset debug \
    --dest ./omnidata_starter_dataset/ \
    --name YOUR_NAME --email YOUR_EMAIL --agree_all
[FAILURE] Uncaught error when processing model https://datasets.epfl.ch/omnidata/omnidata_tars/....tar (stacktrace below)
[FAILURE] Uncaught error when processing model https://datasets.epfl.ch/omnidata/omnidata_tars/....tar (stacktrace below)
[FAILURE] Uncaught error when processing model https://datasets.epfl.ch/omnidata/omnidata_tars/....tar (stacktrace below)
[FAILURE] Uncaught error when processing model https://datasets.epfl.ch/omnidata/omnidata_tars/....tar (stacktrace below)
  0%|                                                                                                                                                                | 0/3600 [01:00<?, ?it/s]
multiprocess.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
    six.raise_from(e, None)
    httplib_response = conn.getresponse()
    response.begin()
    version, status, reason = self._read_status()
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    return self._sock.recv_into(b)
socket.timeout: timed out
@SoftologyPro
Copy link

Models down?

https://drive.google.com/uc?id=1UxUDbEygQ-CMBjRKACw_Xdj4RkDjirB5&confirm=t

gdown '1UxUDbEygQ-CMBjRKACw_Xdj4RkDjirB5&confirm=t' -O ./pretrained_models/ # omnidata depth (v1)
gdown '1Jrh-bRnJEjyMCS7f-WsaFlccfPjJPPHI&confirm=t' -O ./pretrained_models/ # omnidata depth (v2)

@alexsax
Copy link
Collaborator

alexsax commented May 26, 2023

@janbechtold were you able to download the data? If not you can always fall back to using wget + the list of scenes, the provided utility is really just to parallelize that (but some people have had connectivity issues using Aria).

@SoftologyPro Yes looks like Google changed the API again so the script would have to change. The issue is that the models are large and gdrive has a middle window that requires a clickthrough. You used to be able to bypass it with the confirm=t, but that doesn't work any more. A foolproof way is to simply go to the google drive link and download from a browser.

@zshyang
Copy link

zshyang commented Jun 1, 2023

@alexsax : it seems that the Google Drive link is no longer available. I've got the following message from the website.

This site can’t provide a secure connection
drive.google.com uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH

If possible, do you mind updating the link to normal and depth model version 2, thank you in advance.

@alexsax
Copy link
Collaborator

alexsax commented Jun 1, 2023

This looks like an SSL error and might be caused by network issues. Perhaps try clearing -- navigating in the browser seems to work and just requires the clickthrough:
image

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

4 participants