A desktop tool (Electron + Python sidecar) for curating LoRA datasets: rename, shuffle, convert, and tag images with automated captioning.
https://discord.gg/zxRACHM Maybe I'll help you with your errors, maybe I wont. Depends on my coffee supply
- GUI for dataset management (rename, shuffle, convert formats)
- Automated image captioning via JoyCaption (LLaVA-based) (currently janky, but works)
- Tag editing and prompt customization
- Works with CPU or NVIDIA GPU (INT8, NF4, BF16 quantization)
- Built-in GPU/VRAM monitor
- Python 3.10+
- Node.js + npm (from https://nodejs.org)
- NVIDIA GPU (optional for acceleration — CPU mode works everywhere)
This project uses JoyCaption for automatic image captioning. https://github.com/fpgaminer/joycaption JoyCaption is licensed under the Apache License 2.0 https://github.com/fpgaminer/joycaption/blob/main/LICENSE
The tool works, but is currently having a few bugs on windows that it doesnt have on linux, i am working on patching them.
-
Clone or download this repo
git clone https://github.com/JustLateNightAI/Lofi-Lora-Data-Prep.git cd Lofi-Lora-Data-Prep -
Run setup
- Double-click
setup.bat - Creates a Python virtualenv under
sidecar\\ - Installs Python + npm dependencies
- Prompts you to pick CPU or CUDA PyTorch
- Double-click
-
Run the app
- Double-click
start.bat - Electron launches and automatically spawns the sidecar
- Double-click
-
Clone the repo
git clone https://github.com/JustLateNightAI/Lofi-Lora-Data-Prep.git cd Lofi-Lora-Data-Prep -
Set up Python sidecar
cd sidecar python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip install -r requirements.txt # Optional: install torch with CUDA (NVIDIA only) # pip install --index-url https://download.pytorch.org/whl/cu124 torch torchvision torchaudio cd ..
-
Set up Electron app
npm install
-
Run the app
# Make sure your venv is active so the sidecar uses it source sidecar/venv/bin/activate npm run dev
- No NVIDIA? Choose CPU during setup (or install CPU Torch on Linux).
- If CUDA install fails on Windows, update NVIDIA drivers or rerun setup and choose CPU.
- Logs stay open in the console for debugging.
Creative Commons BY-NC 4.0 License

