KublaiKhan1 commited on
Commit
3a7a436
·
verified ·
1 Parent(s): 011aefc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,8 +56,8 @@ dinov2 = torch.hub.load('facebookresearch/dinov2', 'dinov2_vitg14_reg')
56
  print("Loading custom pathology checkpoint...")
57
  #ours = torch.load("/data/linears/teacher_checkpoint.pth")
58
 
59
- checkpoint = torch.load("./teacher_checkpoint_load.pt")
60
-
61
 
62
 
63
  new_shape = checkpoint["pos_embed"]
 
56
  print("Loading custom pathology checkpoint...")
57
  #ours = torch.load("/data/linears/teacher_checkpoint.pth")
58
 
59
+ #checkpoint = torch.load("./teacher_checkpoint_load.pt")
60
+ checkpoint = torch.hub.load_state_dict_from_url("https://huggingface.co/SophontAI/OpenMidnight/resolve/main/teacher_checkpoint_load.pt")
61
 
62
 
63
  new_shape = checkpoint["pos_embed"]