HRNet-Image-Classification
HRNet-Image-Classification copied to clipboard
guide to use pre-trained model
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.
loda .pth in model.init_weights() like this model.init_weights(pretrained = "/home1/xmy/DCL/HRNet_Image_Classification/experiments/hrnetv2_w18_imagenet_pretrained.pth")