I often dump everything I download in the lora folder. Turns out the LyCORIS models are supposed to go in a different folder.
I wrote this python script to find all the LyCORIS that were placed in the wrong folder.
e.g.
> python.exe find_lyco.py D:\\stable-diffusion-webui\\models\\lora
----------------------------------
| Looking for .safetensors files |
----------------------------------
D:\stable-diffusion-webui\models\lora\a.safetensors
D:\stable-diffusion-webui\models\lora\subdir\b.safetensors
D:\stable-diffusion-webui\models\lora\c.safetensors
----------------------------------
| Found the following LORA files |
----------------------------------
D:\stable-diffusion-webui\models\lora\a.safetensors
D:\stable-diffusion-webui\models\lora\subdir\b.safetensors
-------------------------------------
| Found the following LyCORIS files |
-------------------------------------
D:\stable-diffusion-webui\models\lora\c.safetensors
Description
Now always checks model as the metadata sometimes lies and says lora when the file is lycoris.
Added feature to have the script move LyCORIS models to a target directory. It also moves related preview and info files and maintains the directory structure. The script prompts for confirmation before moving any files.
Details
Files
sortLycorisFromLORA_v30.zip
Mirrors
kawaiiRealisticAsian_v04.safetensors
sentryBotVoiceSoVits_v10.zip
foolkatGODOF_v1.safetensors
mixRealistic_v10.safetensors
Tr1st1n_M4ys.pt
superHeroComicStyle_v10.ckpt
entpnoonnaaa_Soft.safetensors
pornmasterProFP32V4_fp32V4.safetensors
yinmixreal_v10.safetensors
pornmasterProFULLV4_fullV4.safetensors
28DSTABLEBESTVERSION_28dv5.safetensors
mixtapeSalsa_v10FusOBakedVAE.safetensors
analogporn_v20.ckpt
paint_V17.safetensors
envyanimexl_v09.safetensors
mobaGameEquipment_v10.safetensors
SLD.safetensors
sortLycorisFromLORA_v30.zip
yuzufinetune_v12.safetensors
rosedrawnmix_v11.safetensors
elegantrpganimemagic_v10.safetensors
10_v1010.safetensors
entpnoonnaaa_Hard.safetensors
sweetMix_v21.safetensors
avatarStyle_v15.ckpt