Skip to content

sirbastiano/SimpleDet

Repository files navigation

SimpleDet

SimpleDet logo

PyPI Python versions MIT license GitHub

Get started Documentation Release history

Native object-detection toolkit with registry-first model composition and a PyTorch Lightning runtime.


Overview

SimpleDet is designed to make detector development predictable and production-friendly:

  • Build detector definitions with simpledet.suite (Encoder, Neck, Head, Decoder, Detector specs).
  • Compile runtime plans that adapt layer dimensions automatically from actual encoder outputs.
  • Run training, inference, and evaluation through native project-oriented workflows.
  • Keep experimentation reproducible with explicit CLI and config-based project execution.

Professional capabilities

Area What you get
Model authoring Declarative detector specs + registry-backed component assembly
Execution Native PyTorch Lightning training, inference, and evaluation path
Adaptation Automatic channel/shape alignment during model compilation
Packaging Project-level run orchestration and validation commands
Catalog support retinanet, retina, fcos, atss, gfl, vfnet, fovea, foveabox, reppoints, yolof, centernet, faster_rcnn, mask_rcnn, grid_rcnn, cascade_rcnn

Quick installation

python -m pip install simpledet
python -m pip install "simpledet[cpu]"
python -m pip install "simpledet[geo,plots]"
git clone https://github.com/sirbastiano/SimpleDet.git
cd SimpleDet
python -m pip install -e ".[cpu]"
python -m simpledet --version
python -m simpledet --check-runtime

Supported environments

  • Platforms: Linux, macOS, Windows
  • Python: 3.10, 3.11, 3.12
  • Runtime support: CPU stack via simpledet[cpu] (wheel-compatible dependencies are required for supported OS/Python pairs)

Core workflow

  • simpledet.suite: author specs, compose detector graphs, and compile native plans.
  • simpledet.native: run native PyTorch Lightning model loops.
  • simpledet.detectors: compatibility helpers for lightweight flows.
  • simpledet._model_resolution: runtime shape and channel adaptation internals.

Quick references

Documentation and links

Repository workflow commands

make venv
make sync
make sync-cpu
make build
make docs-audit
make check

Repository structure

  • simpledet/: Python source root used by packaging
  • simpledet/simpledet/: installable package
  • simpledet/simpledet/native/: native Lightning runtime and model execution components
  • simpledet/simpledet/suite/: detector specs, builders, and planning helpers
  • simpledet/simpledet/_model_resolution.py: model-adaptation helpers
  • simpledet/simpledet/detectors/: compatibility path for lightweight training/eval flows
  • docs/: static documentation site
  • scripts/: repository verification and docs audit helpers
  • tests/: unit and packaging checks

Publishing

python3 -m build
python3 -m twine check dist/*
PYTHONPATH=simpledet python3 -m unittest discover -s tests -p 'test*.py'

License

SimpleDet is released under the MIT License.

About

Simple Object Detection Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors