Skip to main content

GitHub  •  LinkedIn  •  X  •  Discord

Telekinesis Iris

Telekinesis Iris is a computer vision library for creating COCO datasets and training, exporting, and deploying object detection and instance segmentation models.

It includes:

  • COCO dataset generation and loading with bounding boxes and segmentation masks
  • Local RF-DETR detection and segmentation model implementations
  • PyTorch training, validation, checkpointing, and TensorBoard logging
  • ONNX export and ONNX Runtime inference
  • Rerun visualization for datasets and predictions

Release Model

Telekinesis Iris is currently in active development (pre-1.0). APIs may evolve between minor releases. Install the latest package version for the newest features and fixes.

Installation

  1. Install Miniconda.

  2. Create a Python 3.11 environment:

    conda create -n telekinesis-iris python=3.11
    
  3. Activate the environment:

    conda activate telekinesis-iris
    
  4. Install PyTorch and TorchVision for CUDA 12.8, then install the package:

    pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
    
    pip install telekinesis-iris
    

The Python package is imported as telekinesis.iris, while the package published on PyPI is named telekinesis-iris.

Example

Train an RF-DETR segmentation model on a COCO dataset:

from telekinesis.iris.dataset import COCODataset, ResizeSample
from telekinesis.iris.models import (
    RFDETRSegNanoConfig,
    SegmentationTrainConfig,
    build_criterion_from_config,
    build_model_from_config,
    load_pretrain_weights,
)
from telekinesis.iris.trainer import Trainer

model_config = RFDETRSegNanoConfig(num_classes=3)
train_config = SegmentationTrainConfig(
    dataset_dir="dataset/train",
    output_dir="results/seg-nano",
    epochs=10,
    batch_size=4,
)

model = build_model_from_config(model_config, train_config)
load_pretrain_weights(model, model_config)
criterion, _ = build_criterion_from_config(model_config, train_config)
dataset = COCODataset(
    "dataset/train",
    transforms=ResizeSample(model_config.resolution),
    include_masks=True,
)

Trainer(
    model=model,
    criterion=criterion,
    dataset=dataset,
    output_dir="results/seg-nano",
    epochs=10,
    batch_size=4,
    evaluate_masks=True,
).train()

Resources

Support

For issues and questions:

Release files for telekinesis-iris 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telekinesis-iris 0.0.3
File Size Uploaded
telekinesis_iris-0.0.3.tar.gz 220.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telekinesis-iris 0.0.3
File Interpreter ABI Platform
telekinesis_iris-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 465.7 kB

Release files / telekinesis_iris-0.0.3.tar.gz

Download URL telekinesis_iris-0.0.3.tar.gz
Size 220.4 kB
Tags Source
SHA-256 checksum
How to use checksums
274752c5abdcafcc4ce00b52eea7731debde51483c13341023494b97b9bfba2c
BLAKE2b-256 checksum
How to use checksums
5da3347f72f23eaf26a6ee7bff127acbc070a1d7608b2ce2611194eec912e280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / telekinesis_iris-0.0.3-py3-none-any.whl

Download URL telekinesis_iris-0.0.3-py3-none-any.whl
Size 245.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3bdb0c6947364190d4d07706180c9666e868319102058efdede4fd7e818ddc7
BLAKE2b-256 checksum
How to use checksums
4d80acf9fb246538655126db1c298321d896311a603e495960d5e6966570eaa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page