Instructions to use ohgnues/ImageTextRetrieval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ohgnues/ImageTextRetrieval with Transformers:
# Load model directly from transformers import ImageTextRetrieval model = ImageTextRetrieval.from_pretrained("ohgnues/ImageTextRetrieval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -17,6 +17,6 @@
|
|
| 17 |
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
| 20 |
-
"shortest_edge":
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 17 |
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
| 20 |
+
"shortest_edge": 224
|
| 21 |
}
|
| 22 |
}
|