Skip to content

Commit

Permalink
Merge pull request #177 from biigle/patch-1
Browse files Browse the repository at this point in the history
Specfiy branch name for torch.hub model
  • Loading branch information
mzur authored Jul 11, 2024
2 parents d25d263 + c45cfd3 commit 62464ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/scripts/ExtractFeatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
with open(sys.argv[1], 'r') as f:
input_json = json.load(f)

dinov2_vits14 = hub_load('facebookresearch/dinov2', 'dinov2_vits14')
dinov2_vits14 = hub_load('facebookresearch/dinov2:main', 'dinov2_vits14')

if cuda_is_available():
device = device('cuda')
Expand Down

0 comments on commit 62464ee

Please sign in to comment.