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

add hubconfig #436

Merged
merged 2 commits into from
Aug 27, 2024
Merged

add hubconfig #436

merged 2 commits into from
Aug 27, 2024

Conversation

lyuwenyu
Copy link
Owner

@lyuwenyu lyuwenyu commented Aug 27, 2024

import torch

models = torch.hub.list('lyuwenyu/RT-DETR')
print(models)

_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_s', pretrained=False)
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_l')

_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_r18vd', pretrained=False)
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_r34vd')
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_r50vd_m')
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetrv2_r50vd')

_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetr_r18vd', pretrained=True)
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetr_r34vd', pretrained=False)
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetr_r50vd_m', pretrained=False)
_ = torch.hub.load('lyuwenyu/RT-DETR', 'rtdetr_r50vd', pretrained=False)

@lyuwenyu lyuwenyu merged commit b6bf020 into main Aug 27, 2024
@lyuwenyu lyuwenyu deleted the hubconfig branch August 27, 2024 03:35
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

Successfully merging this pull request may close these issues.

1 participant