Instructions to use cmarkea/dit-base-layout-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cmarkea/dit-base-layout-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="cmarkea/dit-base-layout-detection")# Load model directly from transformers import AutoImageProcessor, BeitForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("cmarkea/dit-base-layout-detection") model = BeitForSemanticSegmentation.from_pretrained("cmarkea/dit-base-layout-detection") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"add_fpn": false,
|
| 4 |
"architectures": [
|
| 5 |
"BeitForSemanticSegmentation"
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "cmarkea/dit-base-layout-detection",
|
| 3 |
"add_fpn": false,
|
| 4 |
"architectures": [
|
| 5 |
"BeitForSemanticSegmentation"
|