Instructions to use deepdoctection/tatr_tab_struct_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepdoctection/tatr_tab_struct_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="deepdoctection/tatr_tab_struct_v2")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("deepdoctection/tatr_tab_struct_v2") model = AutoModelForObjectDetection.from_pretrained("deepdoctection/tatr_tab_struct_v2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ When running the model within the deepdoctection analyzer, adjust the segmentati
|
|
| 41 |
```python
|
| 42 |
import deepdoctection as dd
|
| 43 |
|
| 44 |
-
analyzer = dd.get_dd_analyzer(reset_config_file=True, config_overwrite=["PT.ITEM.WEIGHTS=
|
| 45 |
"PT.ITEM.FILTER=['table']",
|
| 46 |
"PT.ITEM.PAD.TOP=5",
|
| 47 |
"PT.ITEM.PAD.RIGHT=5",
|
|
|
|
| 41 |
```python
|
| 42 |
import deepdoctection as dd
|
| 43 |
|
| 44 |
+
analyzer = dd.get_dd_analyzer(reset_config_file=True, config_overwrite=["PT.ITEM.WEIGHTS=deepdoctection/tatr_tab_struct_v2/pytorch_model.bin",
|
| 45 |
"PT.ITEM.FILTER=['table']",
|
| 46 |
"PT.ITEM.PAD.TOP=5",
|
| 47 |
"PT.ITEM.PAD.RIGHT=5",
|