THUdyh commited on
Commit
f4f5253
1 Parent(s): 6f813d0

Update oryx/model/multimodal_encoder/oryx_vit.py

Browse files
oryx/model/multimodal_encoder/oryx_vit.py CHANGED
@@ -738,10 +738,10 @@ def create_siglip_vit(
738
  num_classes=0
739
  )
740
 
741
- if path is not None and os.path.exists(path):
742
- ckpt = path
743
- else:
744
- raise ValueError(f"Model checkpoint not found at {path}")
745
  # state_dict = torch.load(ckpt, map_location="cpu")
746
  # print('loading vision backbone from', path)
747
 
 
738
  num_classes=0
739
  )
740
 
741
+ # if path is not None and os.path.exists(path):
742
+ # ckpt = path
743
+ # else:
744
+ # raise ValueError(f"Model checkpoint not found at {path}")
745
  # state_dict = torch.load(ckpt, map_location="cpu")
746
  # print('loading vision backbone from', path)
747