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:

Metadata

Release files for telekinesis-iris 0.0.4

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.4
File Size Uploaded
telekinesis_iris-0.0.4.tar.gz 220.5 kB Details

Built distribution (wheel)

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

Total release size: 465.8 kB

Release files / telekinesis_iris-0.0.4.tar.gz

Download URL telekinesis_iris-0.0.4.tar.gz
Size 220.5 kB
Tags Source
SHA-256 checksum
How to use checksums
956bf406eb94dc2f35fcb68039f5d293c960a45499a8080df9eec4f75b46db45
BLAKE2b-256 checksum
How to use checksums
34ef846fe0314ad1630d8408ceb35c602a87cbdf0a97c88ee10f562502314d41
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.4-py3-none-any.whl

Download URL telekinesis_iris-0.0.4-py3-none-any.whl
Size 245.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5f20602fd46f2d000b635d954fbf0e52353d6f81fda790104a245c83b9eed03
BLAKE2b-256 checksum
How to use checksums
0001bf3c982bd2240739627626722ce70a9ab1cbc6047bddb5d7bf324bb41822
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

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

This release

0.0.4 This release

2 release files

0.0.3

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