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

Feature request: Add HRNet-Semantic-Segmentation to the Pytorch-hub #166

Open
AlexeyAB opened this issue Aug 1, 2020 · 3 comments
Open

Comments

@AlexeyAB
Copy link

AlexeyAB commented Aug 1, 2020

Feature request: Add HRNet-Semantic-Segmentation models to the Pytorch-hub

This will be a step prior to adding HRNet to the common Pytorch models: pytorch/vision#987

The simplest way is to add hubconf.py file to GitHub repository, like: https://github.com/WongKinYiu/PyTorch_YOLOv4/blob/u5_preview/hubconf.py
So we will be able to use HRNet models by using just command like: https://pytorch.org/docs/stable/hub.html#torch.hub.help

model= torch.hub.load('WongKinYiu/PyTorch_YOLOv4:u5_preview', 'yolov4_pacsp_s', pretrained=True)
output = model(img)  # output is length 3 list

for layer in output: 
    print(layer.shape)
@PkuRainBow
Copy link
Collaborator

@AlexeyAB Thanks for informing us of adding our models to the Pytorch-hub and the Pytorch/vision repo.

We will follow the mentioned example and add a hubconf.py soon.

@AOS55
Copy link

AOS55 commented Mar 31, 2021

This would certainly be a useful feature to compare HRNet to different architectures is there a PR related to this?

@vedal
Copy link

vedal commented May 5, 2021

+1 @PkuRainBow

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

4 participants