Skip to main content
Avala produces labeled datasets. Your training pipeline consumes them. This page covers how to connect the two — from exporting annotations in the right format to building automated training loops that re-import model predictions for active learning.

Export Formats

Avala supports exporting annotations in standard ML formats. Choose the format that matches your training framework.

Creating an Export

Export Filtering

Control exactly which annotations are included in your export:

PyTorch Integration

Loading COCO Exports with torchvision

Loading with Detectron2

For a complete PyTorch training example, see the PyTorch framework guide.

Hugging Face Integration

Loading with Hugging Face Datasets

For detailed Hugging Face integration, see the Hugging Face framework guide.

Training Loop Automation

End-to-End Pipeline

Combine Avala exports with webhooks to trigger training automatically when new annotations are approved.

Webhook-Triggered Training

Scheduling Periodic Exports

For pipelines that do not need real-time triggers, schedule periodic exports:

Active Learning Loop

Use model predictions to prioritize which data gets annotated next, creating a feedback loop between your model and your annotation team.

How It Works

  1. Train an initial model on a small labeled dataset
  2. Run inference on unlabeled data
  3. Score uncertainty — identify items where the model is least confident
  4. Import predictions into Avala as pre-annotations
  5. Prioritize uncertain items for human annotation using work batches
  6. Annotators review and correct the model predictions (faster than labeling from scratch)
  7. Export the corrected annotations and retrain

Importing Model Predictions

Use batch auto-labeling to import model predictions as pre-annotations:

Measuring Improvement

Track these metrics across active learning iterations:

Dataset Versioning

Keep track of which data was used to train which model.

Using Slices for Versioning

Slices let you create named subsets of a dataset without duplicating data:

Versioning Best Practices

Next Steps

PyTorch Guide

Complete integration guide for PyTorch and Detectron2.

Hugging Face Guide

Load Avala exports into Hugging Face Datasets and Transformers.

Batch Auto-Labeling

Import model predictions as pre-annotations for review.

Exports API

Full API reference for creating and managing exports.