Spaces:
Paused
Paused
Download potato/export/__init__.py from Blablablab/ner-span: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/spaces/Blablablab/ner-span/resolve/main/potato/export/__init__.py
- Command line
-
hf download hf://spaces/Blablablab/ner-span/potato/export/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Blablablab/ner-span/resolve/main/potato/export/__init__.py
666 Bytes
| """ | |
| Potato Export System | |
| Pluggable export framework for converting Potato annotations into | |
| standard formats (COCO, YOLO, Pascal VOC, CoNLL-2003, CoNLL-U, etc.). | |
| Usage: | |
| from potato.export.registry import export_registry | |
| # List available exporters | |
| exporters = export_registry.list_exporters() | |
| # Export annotations | |
| result = export_registry.export("coco", context, output_path) | |
| CLI: | |
| python -m potato.export --config config.yaml --format coco --output ./out/ | |
| """ | |
| from .base import BaseExporter, ExportContext, ExportResult | |
| from .registry import export_registry | |
| __all__ = ["BaseExporter", "ExportContext", "ExportResult", "export_registry"] | |