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

How to use the pretrained model? #6

Open
Dududu233 opened this issue May 24, 2022 · 1 comment
Open

How to use the pretrained model? #6

Dududu233 opened this issue May 24, 2022 · 1 comment

Comments

@Dududu233
Copy link

Dududu233 commented May 24, 2022

I'm glad to find that you have open-sourced your pretrained model, I got it from google drive, but how can we just apply it to infer.py?
What do the files in the dicterory mean in your pretrained model?
Thanks for your time and reply.
4O} X_L4V34S{D11_WD1HJQ

@junyuchen245
Copy link
Owner

junyuchen245 commented May 27, 2022

Hi @Dududu233 ,

Sorry for the late reply. You can use torch.load to load the pretrained weights (i.e., the entire .tar file) into the model. We additionally provided pre-trained weights of ViT-V-Net for IXI dataset here.

Junyu

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

2 participants