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 models ahead of time #163

Closed
Seb-Leb opened this issue Feb 4, 2022 · 3 comments
Closed

download models ahead of time #163

Seb-Leb opened this issue Feb 4, 2022 · 3 comments

Comments

@Seb-Leb
Copy link

Seb-Leb commented Feb 4, 2022

hello
my HPC platform doesn't allow connection to the internet. How do I simply download the models without running ms2pip. I can't seem to import predict_xgboost.py module because of circular import? I thought I would use the download_model function?
thanks

@RalfG
Copy link
Member

RalfG commented Feb 4, 2022

Hi @Seb-Leb,

You can download the models manually from our share: http://genesis.ugent.be/uvpublicdata/ms2pip/
and place them in the ~/.ms2pip directory.

Do you have access to the home directory on your HPC platform? If not, we will have to add an option to MS²PIP to configure a custom model file. This is something I now realize we should do anyway.

@RalfG RalfG added this to the v3.9.0 milestone Feb 4, 2022
@Seb-Leb
Copy link
Author

Seb-Leb commented Feb 4, 2022

I do have a home directory on our HPC. Ok, so I just put the models in $HOME/.ms2pip/ ?

@RalfG
Copy link
Member

RalfG commented Feb 12, 2022

Indeed, all the models you'll be using can be downloaded and added to $HOME/.ms2pip/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants