Instructions to use Raghavan/textnet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Raghavan/textnet-base with Transformers:
# Load model directly from transformers import AutoImageProcessor, TextNetBackbone processor = AutoImageProcessor.from_pretrained("Raghavan/textnet-base") model = TextNetBackbone.from_pretrained("Raghavan/textnet-base") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -24,5 +24,5 @@
|
|
| 24 |
"size": {
|
| 25 |
"shortest_edge": 640
|
| 26 |
},
|
| 27 |
-
"use_square_size":
|
| 28 |
}
|
|
|
|
| 24 |
"size": {
|
| 25 |
"shortest_edge": 640
|
| 26 |
},
|
| 27 |
+
"use_square_size": false
|
| 28 |
}
|