Instructions to use vikp/surya_layout with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vikp/surya_layout with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForRegressionMask processor = AutoImageProcessor.from_pretrained("vikp/surya_layout") model = SegformerForRegressionMask.from_pretrained("vikp/surya_layout") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
| 18 |
"resample": 2,
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
"size": {
|
| 21 |
-
"height":
|
| 22 |
-
"width":
|
| 23 |
}
|
| 24 |
}
|
|
|
|
| 18 |
"resample": 2,
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
"size": {
|
| 21 |
+
"height": 1024,
|
| 22 |
+
"width": 1024
|
| 23 |
}
|
| 24 |
}
|