Instructions to use RedRocket/JointTaggerProject with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use RedRocket/JointTaggerProject with timm:
import timm model = timm.create_model("hf_hub:RedRocket/JointTaggerProject", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Update JTP_PILOT2/inference_gradio.py
Browse files
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-
|
| 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()
|