Instructions to use Shashank91097/Idefic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shashank91097/Idefic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Shashank91097/Idefic")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("Shashank91097/Idefic") model = AutoModel.from_pretrained("Shashank91097/Idefic") - Notebooks
- Google Colab
- Kaggle
Upload preprocessor config
Browse files- preprocessor_config.json +16 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_num_channels": 3,
|
| 3 |
+
"image_mean": [
|
| 4 |
+
0.48145466,
|
| 5 |
+
0.4578275,
|
| 6 |
+
0.40821073
|
| 7 |
+
],
|
| 8 |
+
"image_processor_type": "IdeficsImageProcessor",
|
| 9 |
+
"image_size": 224,
|
| 10 |
+
"image_std": [
|
| 11 |
+
0.26862954,
|
| 12 |
+
0.26130258,
|
| 13 |
+
0.27577711
|
| 14 |
+
],
|
| 15 |
+
"processor_class": "IdeficsProcessor"
|
| 16 |
+
}
|