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

mmpose on a virtual server #1640

Open
IssaIssa1 opened this issue Sep 6, 2022 · 4 comments
Open

mmpose on a virtual server #1640

IssaIssa1 opened this issue Sep 6, 2022 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@IssaIssa1
Copy link

IssaIssa1 commented Sep 6, 2022

Hello,
I am trying to run mmpose predict on a virtual server using jupyter notebook. I followed the colab tutorial I had to set up proxy as follows for the instalations

import os os.environ['https_proxy'] = "http:https://proxy:80" os.environ['http_proxy'] = "http:https://proxy:80"

But when I run the prediction it tries to download the model as follows:

Downloading: "https://download.openmmlab.com/mmpose/top_down/hrformer/hrformer_base_coco_384x288-ecf0758d_20220316.pth" to /home/hpc/iwso/iwso067h/.cache/torch/hub/checkpoints/hrformer_base_coco_384x288-ecf0758d_20220316.pth

But it returns a time out error

URLError: <urlopen error [Errno 110] Connection timed out>

I suspect it's proxy issue but I couldn't fix it. I'd appreciate your help

@ly015
Copy link
Member

ly015 commented Sep 6, 2022

MMPose will automatically download the checkpoint to a temporal folder at the first time it is used in inference. Are you face any problems at this step?

@IssaIssa1
Copy link
Author

I updated my issue. I added the error message. I am getting time out error exactly on the step where the model is automatically downloading.

@ly015
Copy link
Member

ly015 commented Sep 6, 2022

It looks like the download link can not be accessed from your virtual server. Is it possible to manually upload the checkpoint to your server?

@jin-s13 jin-s13 added the question Further information is requested label Sep 7, 2022
@IssaIssa1
Copy link
Author

I have access to the server but I am experimenting with different models so it would be faster and more efficient if it can be fixed through code. I was trying to add proxy to mmpose source code but no luck fixing it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants