MoonRide303 / Fooocus-MRE

Focus on prompting and generating
GNU General Public License v3.0
942 stars 56 forks source link

fooocus-MRE loads model on every startup #172

Open selim-yildirim opened 10 months ago

selim-yildirim commented 10 months ago

Hello friends. First of all, I would like to thank you very much for being great and very fast. My problem now is this; When I start it with run-mre or run-mre-no-update it starts loading the sd xl base model. That model already exists in the model folder. There is no change in name. But it starts loading every time it starts. I don't know much about these matters. If you have a solution, could you please simplify it? My respects I wish everyone success

image

barepixels commented 10 months ago

with Fooocus-MRE one needs to edit "paths.json" Do not manually edit "user_path_config.txt". Fooocus-MRE read "paths.json" and auto-generates "user_path_config.txt"

Here is how my "paths.json" looks

{
    "path_checkpoints": "D:\\stable-diffusion-shared\\Ckpt\\XL",
    "path_loras": "D:\\stable-diffusion-shared\\Lora\\SDXL",
    "path_embeddings": "D:\\fooocus-shared\\embeddings",
    "path_clip_vision": "D:\\fooocus-shared\\clip_vision",
    "path_controlnet": "D:\\fooocus-shared\\controlnet",
    "path_vae_approx": "D:\\fooocus-shared\\vae_approx",
    "path_fooocus_expansion": "D:\\fooocus-shared\\prompt_expansion\\fooocus_expansion",
    "path_upscale_models": "D:\\fooocus-shared\\upscale_models",
    "path_inpaint_models": "D:\\fooocus-shared\\inpaint",
    "path_styles": "../sdxl_styles/",
    "path_wildcards": "../wildcards/",
    "path_outputs": "../outputs/"
}

When Fooocus can not find the models (due to user error) it will download the default one.