LORA DATA BUILDER - (v1.4 CPU/WIN) Portable
=========================================================
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.
📌 CORE FEATURES (v1.3 Legacy):
* Resolution Selector: Choose between 512px, 768px, or 1024px.
* Smart Scaling: Automatic shortest-side calculation preserving original aspect ratios.
* Dynamic Folders: Automatic organization into resolution-specific subfolders.
📌 WHAT IS INCLUDED:
Pre-configured *Python 3.11.9** environment.
Pre-downloaded *Florence-2 Base** model (integrated for offline use).
* Startup & Repair Batch Files for immediate execution.
🚀 HOW TO START:
1. Extract the folder to your desktop (**DO NOT** run from inside ZIP).
2. Double-click on: "Avvio_Lora_Tool_v1.4_MultiRes.bat".
3. To Test: Go to "Quick Analyzer" and drag an image from Civitai or your PC.
4. To Batch: Select your folder, resolution, and click "Scale + Caption".
----------------------------------------------------------------------------------------------------
⚠️ TECHNICAL NOTES:
* CPU Mode: Guaranteed stability on all Windows systems (no specialized GPU drivers required).
* Web Drop: Optimized for Civitai. If a specific website blocks dragging, simply save the image and drag it from your PC.
* Copying: Select the generated text in the Analyzer and press Ctrl+C.
CREDITS:
Porting, English UI - Multiresolutions & Quick Analyzer: Jazara930
Original Scripts: SarcasticTofu
=========================================================
Title: LoRA Data Tool v1.3 - Multi-Resolution Ed. (Universal Windows & CPU Portable)
Description:
This tool is an evolved, Windows-native, and Portable version of the original LoRA Data Builder. After the success of the first porting, this v1.3 "Multi-Resolution Edition" introduces the most requested feature: the ability to choose your target scaling resolution.
Whether you are training a LoRA at 512px, 768px, or 1024px, this tool handles everything automatically, ensuring your dataset is perfectly prepared with high-quality captions and correctly scaled images.
🚀 Key Features in v1.3:
NEW: Multi-Resolution Selector: Choose between 512, 768, or 1024 from a simple dropdown menu.
Smart Scaling: The tool automatically calculates the correct aspect ratio based on your choice, scaling the shortest side and keeping the image proportions intact.
Dynamic Folders: Images are automatically saved in resolution-specific subfolders (e.g., /512_scaled/) to keep your workspace organized.
No GPU Required: Fully optimized for CPU (Florence-2 model), making it accessible to everyone, even on laptops or older systems.
Portable & Zero Setup: No Python environment to configure. Just unzip and run the executable.
Integrated Auditor: Review, edit, or delete captions and images in real-time through the built-in gallery.
🛠 How to use:
Select Folder: Choose the folder containing your raw images.
Set Resolution: Pick your target resolution (512, 768, or 1024).
Caption Style: Choose between Short, Medium, or Long (Civitai style) descriptions.
Process: Click "Scale + Caption" and let the tool do the magic.
🙏 Credits & Resources:
This project is a collaborative evolution of the community's effort:
Original Linux Scripts: Huge thanks to SarcasticTofu for the original concept and scripts. You can find his original Linux version HERE: https://civarchive.com/models/2219046?modelVersionId=2498241.
Previous Version: If you are looking for the legacy 1024px-only version or GPU (3090) Version, it's available HERE: https://civarchive.com/models/2266157?modelVersionId=2550818.
Porting & Optimization: Developed and refined by Jazara930.
Description
Version 1.3 - The Multi-Resolution Update
New Features & Improvements:
Resolution Selector: Added a dropdown menu to choose between 512px, 768px, or 1024px for image scaling.
Smart Proportional Scaling: The tool now automatically scales the shortest side while preserving the original aspect ratio (no more forced 1:1 crops).
Dynamic Directory Management: Processed images are automatically saved into specific subfolders (e.g.,
/512_scaled/) based on your selection.Updated GUI: Refined header with full credits to the original author and a cleaner layout.
Batch File System: Included "Startup" and "Repair" .bat files to ensure the portable environment works out of the box on any Windows system.