Skip to main content

Desktop GUI application for training and running inference with Detectron2 models

Project description

AlchemyDetect

A desktop GUI application for training and running inference with Detectron2 models.

AlchemyDetect

Features

  • Train object detection and instance segmentation models with a visual interface
  • Live monitoring — real-time loss plot and training logs
  • Inference on single images or entire folders with result visualization
  • Model management — save and load trained weights for later use

Supported Models

Model Task
Faster R-CNN (R50-FPN, R101-FPN) Object Detection
RetinaNet (R50-FPN, R101-FPN) Object Detection
Mask R-CNN (R50-FPN, R101-FPN) Instance Segmentation

Quick Start

# Install dependencies (see INSTALL.md for detailed setup)
pip install -r requirements.txt

# Run the application
python main.py

Dataset Format

AlchemyDetect uses COCO JSON format for training datasets. You need:

  • A directory containing your training images
  • A COCO-format JSON annotation file

Usage

Training

  1. Open the Train tab
  2. Select your training images directory and COCO JSON annotation file
  3. Choose a model architecture from the dropdown
  4. Set hyperparameters (learning rate, iterations, batch size)
  5. Choose an output directory
  6. Click Start Training
  7. Monitor progress via the log viewer and loss plot

Inference

  1. Open the Inference tab
  2. Click Load Model and select a trained .pth file (config.yaml will be auto-detected if in the same directory)
  3. Adjust the confidence threshold
  4. Click Run on Image or Run on Folder
  5. Browse results using the navigation buttons

Tech Stack

  • Python 3.10 or 3.11
  • PyQt6 — Desktop GUI
  • Detectron2 — Object detection / instance segmentation
  • PyTorch — Deep learning backend
  • pyqtgraph — Real-time loss plotting

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alchemydetect-0.3.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alchemydetect-0.3.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file alchemydetect-0.3.0.tar.gz.

File metadata

  • Download URL: alchemydetect-0.3.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alchemydetect-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6d303211e533a45ffc1afa1c263308f205c176b8fa771bf86b232e9e9d2e3942
MD5 24500c0a6345283e6897d88c154ae7d6
BLAKE2b-256 902c66c820bf549ccc0aa9d2c510738ccc2d28e3b3bede165e67a2b873dd8b5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for alchemydetect-0.3.0.tar.gz:

Publisher: publish.yml on kouya-marino/AlchemyDetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file alchemydetect-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: alchemydetect-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for alchemydetect-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc37f3f017e0f7dfc2283638e0b8546d3d38e7ed2b49a4a0254ad6da812f437
MD5 5ab4da0354bce4be9182021f933eb356
BLAKE2b-256 30c9ce6acdc34d6db49b14e7b11f2cc5f5e0cd7ee13a5e83ec6c004355f357fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for alchemydetect-0.3.0-py3-none-any.whl:

Publisher: publish.yml on kouya-marino/AlchemyDetect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page