Instructions to use NbAiLab/autocrop-tekst with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/autocrop-tekst with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="NbAiLab/autocrop-tekst")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("NbAiLab/autocrop-tekst") model = SegformerForSemanticSegmentation.from_pretrained("NbAiLab/autocrop-tekst") - Notebooks
- Google Colab
- Kaggle
File size: 456 Bytes
fb1d642 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"epoch": 50.0,
"eval_accuracy_background": NaN,
"eval_accuracy_crop": 0.9939011345509936,
"eval_iou_background": 0.0,
"eval_iou_crop": 0.9939011345509936,
"eval_loss": 0.019662605598568916,
"eval_mean_accuracy": 0.9939011345509936,
"eval_mean_iou": 0.4969505672754968,
"eval_overall_accuracy": 0.9939011345509936,
"eval_runtime": 35.7077,
"eval_samples_per_second": 24.673,
"eval_steps_per_second": 3.109
} |