Skip to content

Commit

Permalink
fix: not force reloading dinov2 models
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz committed Nov 24, 2023
1 parent 634d48a commit 800967d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/modules/projected_d/projector.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def create_clip_model(model_name, config_path, weight_path, img_size):

def create_dinov2_model(model_name, config_path, weight_path, img_size):
dinov2_model = torch.hub.load(
"facebookresearch/dinov2", model_name, force_reload=True
"facebookresearch/dinov2", model_name, force_reload=False
)
return dinov2_model

Expand Down

0 comments on commit 800967d

Please sign in to comment.