Skip to content
@bnnr-team

BNNR

Train → Expalin → Improve → Porve

BNNR

Bulletproof Neural Network Recipe

Train → Explain → Improve → Prove

BNNR automatically improves your PyTorch vision models using XAI — find what your model gets wrong,
fix it with intelligent augmentation, and prove the result with structured reports and a live dashboard.

Already have a trained model? Run bnnr analyze for metrics, XAI, failure patterns, and recommendations — no retraining.
Model analysis docs

PyPI version  Python versions  PyPI downloads  License  Docs

Watch the full demo (with audio) on bnnr.dev


How it works

Step What happens
Train Start with your PyTorch model and data. BNNR trains a baseline, then iteratively evaluates candidate augmentations — keeping only those that measurably improve performance.
Explain OptiCAM, GradCAM, NMF, and CRAFT saliency maps reveal what the model focuses on. Per-class diagnoses expose blind spots and biases invisible to accuracy alone.
Improve Intelligent Coarse Dropout (ICD) masks salient regions, forcing the model to learn from context. AICD sharpens focus on key features. Both are XAI-driven and automatic.
Prove A structured report with metrics, XAI heatmaps, branch decisions, and before/after comparisons — shareable, auditable, and ready for stakeholders.

Key features

  • Zero-config CLIbnnr train and bnnr quickstart work without a YAML file; sensible defaults built in
  • Model analysis (bnnr analyze) — full diagnostic report on any trained checkpoint without retraining
  • Auto-Augment Search — iterative branching strategy that tests augmentations against a baseline
  • Image Classification & Object Detection — classification, multi-label, and detection (COCO-mini / YOLO) with bbox-aware augmentations and mAP metrics (v0.3.1)
  • XAI Explainability — OptiCAM, GradCAM, NMF, and CRAFT heatmaps with per-class severity and trend analysis
  • ICD & AICD — XAI-driven augmentations that use saliency maps to mask or focus image regions
  • Real-Time Dashboard — live monitoring with branch trees, metrics, XAI previews; mobile via QR code
  • Auditable Reports — structured JSON + static dashboard export for stakeholders

Quick start

pip install "bnnr[dashboard]"

python3 -m bnnr train --dataset cifar10 --preset light --with-dashboard

Interactive wizard:

python3 -m bnnr quickstart

Analyze an existing checkpoint:

python3 -m bnnr analyze --model checkpoints/best.pt --data cifar10 --output ./analysis_out

Python API (advanced):

from bnnr import quick_run, BNNRConfig

result = quick_run(model, train_loader, val_loader, config=BNNRConfig(m_epochs=5, max_iterations=3, device="auto"))
print(result.best_metrics)

Repositories

Repository Description
bnnr Core library — CLI, training, augmentations, XAI, dashboard
bnnr-website Site at bnnr.dev — docs + demo video with audio

Interactive demos

Demo Try it
Classification (STL-10) Open in Colab
Multi-Label Classification Open in Colab
Augmentations Guide Open in Colab
Object Detection (YOLO) Open in Colab
Bring Your Own Data Open in Colab

Team

Mateusz Walo — Founder & Lead Developer Architect behind BNNR's core engine, XAI pipeline, and model improvement loop.

Diana Morzhak — Software Developer & QA Engineer Feature development, quality assurance, and end-to-end testing.

Dominika Zydorczyk — Community & Communications Specialist Community outreach, content strategy, and project awareness.

Zuzanna Saczuk — Graphic Designer & Brand Lead Visual identity — logo, neon branding, UI, and assets.


bnnr.dev  •   PyPI  •   GitHub  •   Discussions  •   Issues

MIT License © 2025–2026 BNNR Team

Pinned Loading

  1. bnnr bnnr Public

    XAI-driven augmentation & diagnostics for PyTorch vision - find model failures, fix with saliency-guided augmentation (ICD/AICD), prove with auditable reports.

    Python 16 3

Repositories

Showing 10 of 12 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…