Instructions to use microsoft/table-transformer-structure-recognition-v1.1-pub with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/table-transformer-structure-recognition-v1.1-pub with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="microsoft/table-transformer-structure-recognition-v1.1-pub")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("microsoft/table-transformer-structure-recognition-v1.1-pub") model = AutoModelForObjectDetection.from_pretrained("microsoft/table-transformer-structure-recognition-v1.1-pub") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
#2
by Spanicin - opened
- preprocessor_config.json +1 -0
preprocessor_config.json
CHANGED
|
@@ -19,5 +19,6 @@
|
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
"size": {
|
| 21 |
"longest_edge": 800
|
|
|
|
| 22 |
}
|
| 23 |
}
|
|
|
|
| 19 |
"rescale_factor": 0.00392156862745098,
|
| 20 |
"size": {
|
| 21 |
"longest_edge": 800
|
| 22 |
+
"shortest_edge":0
|
| 23 |
}
|
| 24 |
}
|