Image Classification
timm
drhead commited on
Commit
8cba915
·
verified ·
1 Parent(s): fd00c4c

Update JTP_PILOT2/inference_gradio.py

Browse files
Files changed (1) hide show
  1. JTP_PILOT2/inference_gradio.py +1 -1
JTP_PILOT2/inference_gradio.py CHANGED
@@ -136,7 +136,7 @@ class GatedHead(torch.nn.Module):
136
 
137
  model.head = GatedHead(min(model.head.weight.shape), 9083)
138
 
139
- safetensors.torch.load_model(model, "JTP_PILOT2-2-e3-vit_so400m_patch14_siglip_384.safetensors")
140
 
141
  if torch.cuda.is_available():
142
  model.cuda()
 
136
 
137
  model.head = GatedHead(min(model.head.weight.shape), 9083)
138
 
139
+ safetensors.torch.load_model(model, "JTP_PILOT2-e3-vit_so400m_patch14_siglip_384.safetensors")
140
 
141
  if torch.cuda.is_available():
142
  model.cuda()