Overview CPU Version
⚠️ UPDATE: New Version 1.4 Available!
=========================================================
This v1.4 update is a major stability release. It refines the multi-resolution engine and introduces the Quick Analyzer, making it the most complete and stable portable tool for LoRA dataset preparation.
📌 NEW IN VERSION 1.4:
* Quick Analyzer Tab: Instantly caption single images to test styles before bulk processing.
* Web Drag & Drop: Drag images directly from Civitai into the tool for instant analysis.
* Full English UI: The entire interface is now in English for global accessibility.
* Stability Fix: Improved GUI engine with "Groove" relief to prevent startup crashes.
* Smart Selection: Click the analyzer area to browse files or use Ctrl+C to copy generated prompts.
👉 Download LoRA Data Tool v1.4 here
⚠️ UPDATE: New Version 1.3 Available!
A significantly improved version of this tool has been released. Version 1.3 - Multi-Resolution Edition is now the recommended version.
Key Improvements in v1.3:
Resolution Selector: Choose between 512px, 768px, or 1024px
Smart Scaling: Automatic proportional scaling (no more forced crops)
Improved Stability: Windows-native environment with new Startup and Repair batch files
👉 Download LoRA Data Tool v1.3 here
LORA Data Tool - Windows Universal Edition (v1.2 CPU-Only)
Developed by jazara930, based on Sarcastic TOFU's original script
This new Universal CPU Edition is a major update specifically optimized for Windows users. While the previous GPU version works great for many, we recognized that the Windows ecosystem presents too many variables—different GPU architectures, conflicting CUDA versions, and varying driver updates—that often lead to instability.
Why a CPU-Only version? Developing a stable GPU tool for everyone would require separate optimizations for every single combination of NVIDIA drivers and hardware. To solve this, we created this CPU version: it eliminates the white screen crashes, WinError 126 (DLL issues), and VRAM limitations. By using your system's processor, we ensure the tool runs successfully on any PC or laptop.
Key Features of this Build:
Standalone & Portable: No need to install Python or Git.
Pre-Downloaded Model: Florence-2 AI is already included.
Maximum Stability: Rebuilt from scratch with Python 3.11.9.
How to get started:
Extract the entire folder from the ZIP file to your Desktop.
Open the folder and run: Avvio_Lora_Tool_v1.2_CPU_version.bat.
Test it: Select the Dataset/Sample_Images folder and click Start Processing.
Overview GPU Version
This is a Portable Windows version of the Florence-2 LORA Data Builder, specifically optimized for NVIDIA RTX GPUs (tested on RTX 3090). It allows you to generate high-quality captions for your LORA datasets using the Florence-2 model without any complex installation.
Credits
The original script and core logic were created by sarcastictofu.
All credit for the core development goes to them.
This version is a community-driven port designed to make the tool stable and ready-to-use for Windows users.
Main Features & Fixes:
CUDA Compatibility Fix: Pre-configured with Torch 2.5.1 + CUDA 12.1 to ensure full hardware acceleration on modern NVIDIA cards.
Florence-2 Model Recognition: Fixed the issues where the model was not correctly detected or loaded in Windows environments.
No-Install Required: Includes a full standalone Python environment. No need to install anything on your PC.
Portable & Dynamic: Use the provided .bat launcher to run the tool from any drive thanks to dynamic path handling.
Clean Environment: Removed unnecessary bloatware to keep the package focused on AI performance.
How to start:
1. Download and extract the ZIP.
2. Run 00 - Avvio Lora Tool v1.2.bat.
3. The GUI will appear, and you can start processing your images immediately.
Description
[IMPORTANT UPDATE] v1.2 Universal CPU Edition is coming!
I've finalized a new version specifically designed to solve the blank screen and model loading errors experienced by some users.
What's included in v1.2: * New Launcher: AVVIA_Lora_Data_Builder_CPU.bat to bypass all GPU/driver conflicts. * Universal Compatibility: The tool will run on your CPU with maximum stability.
High Performance: No need to worry about speed! Even on CPU, the processing remains very fast and efficient.
Self-Repair Tool: Added an emergency script to restore the Python environment with one click.
Upload Status: Since it's New Year's Eve, the actual file upload will happen between tomorrow and the day after. Stay tuned and Happy New Year!
First release of the Portable version. Fixed CUDA initialization and Florence-2 model loading for Windows NVIDIA users.