IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

[BUG] defining custom model folder removes prior model's dir path

Open novaexe opened this issue 1 year ago • 8 comments

"sd_local_model_path":

"model_dir":

conflict with eachother

novaexe avatar Apr 02 '23 19:04 novaexe

I don't understand what the problem is, can you be more specific? sd_local_model_path is the absolute path of the local model, and model_dir is the directory where the model is downloaded.

Sanster avatar Apr 03 '23 03:04 Sanster

"model_dir": is where anything and all of the other sd models are contained, when i defined a custom model folder ("sd_local_model_path":) for my custom SD model anything is no longer in the list and instead points to my custom model

to clarify further, i had anything installed and working before this update, i still have it downloaded but lama cleaner wants to use the model from "sd_local_model_path": instead

novaexe avatar Apr 03 '23 04:04 novaexe

which #260 also doesn't work

novaexe avatar Apr 03 '23 04:04 novaexe

This is the way sd_load_model_path currently works, and if sd_load_model_path is specified, it will be used first. To continue use your download anything model, you can remove --sd-load-model-path args

Sanster avatar Apr 03 '23 05:04 Sanster

unfortunately i use the installer

novaexe avatar Apr 03 '23 05:04 novaexe

This is the way sd_load_model_path currently works, and if sd_load_model_path is specified, it will be used first. To continue use your download anything model, you can remove --sd-load-model-path args

and if i do that i wouldn't be able to use custom models correct?

novaexe avatar Apr 03 '23 05:04 novaexe

image

also file not found #260

novaexe avatar Apr 03 '23 06:04 novaexe

This is the way sd_load_model_path currently works, and if sd_load_model_path is specified, it will be used first. To continue use your download anything model, you can remove --sd-load-model-path args

removing load model path also gave me this error image

novaexe avatar Apr 03 '23 06:04 novaexe