esp32-ai
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.
It introduces information disentanglement and global alignment via mutual information minimization, combining a Mamba encoder with a Restormer decoder for state-of-the-art fusion quality.
Pattern Recognition
GDAFusion is a deep learning framework for fusing infrared and visible images. It uses a two-phase training strategy:
┌─────────────────┐
VIS ──► Mamba ──►│ Base Feature │──┬──► Decoder ──► Fused Image
IR ──► Mamba ──►│ Detail Feature │──┘
└────────┬────────┘
│
┌────────▼────────┐
│ Mutual CLUB │ (shared vs. specific disentanglement)
└─────────────────┘
GDAFusion/
├── train.py # Training entry point with argparse support
├── model/
│ ├── net.py # Network: Mamba_Encoder, Restormer_Decoder, MMFusion, etc.
│ └── SS2D.py # SS2D (Selective Scan 2D) core module
├── utils/
│ ├── loss.py # Loss functions: Fusionloss, LMMD, KL divergence
│ └── metrics.py # Evaluation metrics: EN, MI, SF, SSIM, VIFF, Qabf, etc.
├── requirements.txt
└── README.md
Install dependencies:
pip install -r requirements.txt
The code expects the MSRS and LLVIP datasets under a common data directory:
./data/
├── MSRS/
│ ├── visible/
│ │ ├── train/
│ │ └── val/
│ └── infrared/
│ ├── train/
│ └── val/
└── LLVIP/
├── visible/
│ ├── train/
│ └── val/
└── infrared/
├── train/
└── val/
# Default settings
python train.py
# Custom paths and hyperparameters
python train.py \
--data_dir ./data \
--ckpt_dir ./checkpoints \
--num_epochs 120 \
--batch_size 3 \
--lr 1e-4
| Argument | Default | Description |
|---|---|---|
--data_dir | ./data | Root directory containing MSRS/ and L |
[Pattern Recognition 2026] Generative Representation Learning with Information Disentanglement and Global Alignment for Infrared and Visible Image Fusion
Similar projects matched by category, topics, and programming language.
A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.
Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

A comprehensive guide for building and configuring a high-end local machine to run state-of-the-art LLMs, with detailed hardware choices, BIOS tuning, and Docker-based model serving.