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

guide to use pre-trained model #25

Open
doljae opened this issue Jul 22, 2020 · 1 comment
Open

guide to use pre-trained model #25

doljae opened this issue Jul 22, 2020 · 1 comment

Comments

@doljae
Copy link

doljae commented Jul 22, 2020

Hello. I am a beginner in deep learning and pytorch, and I have a question about how to use HRNet.

I downloaded the pre-trained model you provided (HRNet-W64-C) from one-drive and cloned the HRNet repo and opened it in pycharm.

In this state, I would like to test the image using the model I downloaded.

If you have a detailed explanation on how to do this, I would like to ask you a link, if not, for beginners.

@Taylor-X76
Copy link

loda .pth in model.init_weights()
like this model.init_weights(pretrained = "/home1/xmy/DCL/HRNet_Image_Classification/experiments/hrnetv2_w18_imagenet_pretrained.pth")

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