Skip to content

Commit

Permalink
Merge pull request facebookresearch#6 from xhlulu/main
Browse files Browse the repository at this point in the history
Fix torch hub link
  • Loading branch information
mathildecaron31 authored May 2, 2021
2 parents 6f51bb1 + 1041dd0 commit a15f6af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ You can choose to download only the weights of the pretrained backbone used for
The pretrained models are available on PyTorch Hub.
```python
import torch
deits16 = torch.hub.load('facebookresearch/dino', 'dino_deits16')
deits8 = torch.hub.load('facebookresearch/dino', 'dino_deits8')
vitb16 = torch.hub.load('facebookresearch/dino', 'dino_vitb16')
vitb8 = torch.hub.load('facebookresearch/dino', 'dino_vitb8')
resnet50 = torch.hub.load('facebookresearch/dino', 'dino_resnet50')
deits16 = torch.hub.load('facebookresearch/dino:main', 'dino_deits16')
deits8 = torch.hub.load('facebookresearch/dino:main', 'dino_deits8')
vitb16 = torch.hub.load('facebookresearch/dino:main', 'dino_vitb16')
vitb8 = torch.hub.load('facebookresearch/dino:main', 'dino_vitb8')
resnet50 = torch.hub.load('facebookresearch/dino:main', 'dino_resnet50')
```

## Training
Expand Down

0 comments on commit a15f6af

Please sign in to comment.