Views
No views yet
| Task | METEOR | CIDEr | SPICE |
|---|---|---|---|
| Image Captioning | nan | N/A | nan |
| Narratives | 10.100 | 38.307 | 66.297 |
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)config.yaml: Model configuration filecoco_karpathy-009.pt: Pre-trained model weightsREADME.md: This filepip install git+https://github.com/Ruggero1912/Patch-ioner