Views
No views yet
| Task | METEOR | CIDEr | SPICE |
|---|---|---|---|
| Image Captioning | 0.215 | 0.655 | 0.155 |
| Narratives | 11.500 | 29.300 | 12.300 |
1from patch_ioner import load_model, Patchioner
2
3# Load the model
4config_path = "config.yaml"
5model = load_model(config_path)
6
7# Run inference
8image_path = "your_image.jpg"
9results = model.forward(image_path)
10print(results)1from transformers import AutoModel
2
3MODEL_ID = "Ruggero1912/Patch-ioner_talk2dino_capdec_COCO_Captions" # Example model ID
4
5model = AutoModel.from_pretrained(MODEL_ID, trust_remote_code=True)
6# Further usage would follow the Hugging Face Transformers patternconfig.yaml: Model configuration filecoco_karpathy-009.pt: Pre-trained model weightsREADME.md: This filepip install git+https://github.com/Ruggero1912/Patch-ioner