For Researchers —
Explore and extend models
from the latest
cutting edge research
How it works —
Publishing Models
hubconf.py
file.
Loading models
torch.hub.load()
API.
Here’s an example showing how to load the resnet18
entrypoint from the pytorch/vision
repo.
model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)