Skip to content

Build vision models.
Keep your focus.

From your first dataset to your next breakthrough.
Classification, detection, and segmentation with the tools you already know.

pip install autotimm

Python 3.10+ Open source Apache 2.0

One workflow. Every vision task.

Choose what you want to build.

Choose a vision task
Understand the whole image

An image in.
A label out.

Build an image classifier with a pretrained CNN or vision transformer. Choose your backbone, define your metrics, and start training.

Explore classification
DATAImageDataModuleYour images, ready for training
MODELImageClassifierResNet · EfficientNet · ViT
TRAINAutoTrainerPowered by PyTorch Lightning
Find what matters

Know what’s there.
And where it is.

Locate objects with bounding boxes using FCOS or YOLOX. Load COCO-format data and track detection metrics in the same training workflow.

Explore object detection
DATADetectionDataModuleImages and bounding boxes
MODELObjectDetectorFCOS with your choice of backbone
TRAINAutoTrainerPowered by PyTorch Lightning
See the complete picture

Give every pixel
a purpose.

Assign a class to every pixel with DeepLabV3+ or FCN. Configure segmentation losses and metrics to fit your dataset.

Explore semantic segmentation
DATASegmentationDataModuleImages and semantic masks
MODELSemanticSegmentorDeepLabV3+ · FCN
TRAINAutoTrainerPowered by PyTorch Lightning
Separate every instance

Every object.
Its own outline.

Combine object detection with per-instance masks. Distinguish individual objects, even when they belong to the same class.

Explore instance segmentation
DATAInstanceSegmentationDataModuleImages and per-instance masks
MODELInstanceSegmentorDetection with a mask head
TRAINAutoTrainerPowered by PyTorch Lightning

Less setup. More experimenting.

A complete classification example, from data to training.

import autotimm as at

# Your data. Your choice of backbone.
data = at.ImageDataModule(
    data_dir="./data",
    dataset_name="CIFAR10",
    num_workers=0,
)

metrics = [at.MetricConfig(
    name="accuracy",
    backend="torchmetrics",
    metric_class="Accuracy",
    params={"task": "multiclass"},
    stages=["train", "val"],
)]

model = at.ImageClassifier(
    backbone="resnet18",
    num_classes=10,
    metrics=metrics,
)

trainer = at.AutoTrainer(max_epochs=10)
trainer.fit(model, datamodule=data)

Room to go further.

The essentials are connected. The choices stay yours.

Built on a familiar foundation

Your next model starts here.