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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload 3 files
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"height": 224,
|
| 4 |
"width": 224
|
| 5 |
},
|
| 6 |
-
"do_center_crop":
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": true,
|
| 9 |
"do_rescale": true,
|
|
|
|
| 3 |
"height": 224,
|
| 4 |
"width": 224
|
| 5 |
},
|
| 6 |
+
"do_center_crop": false,
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": true,
|
| 9 |
"do_rescale": true,
|