Fixed recent change that broke the code ( import library as model_util )
A small script to facilitate the extraction of LoRA models from custom checkpoints.
THIS SCRIPT IS BASED ON LIBRARIES: https://github.com/kohya-ss/sd-scripts
The extractor consists of 3 small scripts and libraries.
List of scripts:
- !Updating and extracting LoRA - to check, update or install the required libraries and extract the LoRA model (data) from the checkpoint.
- LoRA extraction only - only for extracting the LoRA model (data) from the checkpoint.
- Only updating libraries - only for updating or installing the required libraries.
According to tests, the GPU is practically not involved. For the most part, the entire load is on RAM and CPU.
FileToOpen and FileToSave are included in the Wfile 1.5 package. Was used to open a window, select a file and save LoRA model. Links to check files on virustotal: FileToOpen.exe and FileToSave.exe