Instructions to use vikp/line_detector_math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vikp/line_detector_math with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForRegressionMask processor = AutoImageProcessor.from_pretrained("vikp/line_detector_math") model = SegformerForRegressionMask.from_pretrained("vikp/line_detector_math") - 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": 1200,
|
| 22 |
+
"width": 1200
|
| 23 |
}
|
| 24 |
}
|