Feature Extraction
Transformers
PyTorch
Safetensors
English
magi
Manga
Object Detection
OCR
Clustering
Diarisation
custom_code
Instructions to use ragavsachdeva/magi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ragavsachdeva/magi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ragavsachdeva/magi", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ragavsachdeva/magi", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update processing_magi.py
Browse files- processing_magi.py +1 -1
processing_magi.py
CHANGED
|
@@ -50,7 +50,7 @@ class MagiProcessor():
|
|
| 50 |
character_detection_threshold=0.3,
|
| 51 |
panel_detection_threshold=0.2,
|
| 52 |
text_detection_threshold=0.25,
|
| 53 |
-
character_character_matching_threshold=0.
|
| 54 |
text_character_matching_threshold=0.4,
|
| 55 |
):
|
| 56 |
assert self.config.disable_detections is False
|
|
|
|
| 50 |
character_detection_threshold=0.3,
|
| 51 |
panel_detection_threshold=0.2,
|
| 52 |
text_detection_threshold=0.25,
|
| 53 |
+
character_character_matching_threshold=0.65,
|
| 54 |
text_character_matching_threshold=0.4,
|
| 55 |
):
|
| 56 |
assert self.config.disable_detections is False
|