Giter Site home page Giter Site logo

Comments (7)

sampadsams avatar sampadsams commented on September 20, 2024 5

πŸ‘ Solution to use other models on Fooocus :

Don't read this :

Models have different types that should be loaded correctly in their special place , a model generates images and another changes or refines it , that's the standard. Some models come with the whole sequence , but in separated files , because they have to be loaded in that standard. Example of that is the default XL model that Fooocus uses , it is one model but comes in two files , and it causes problems if you intend to replace only one of them. Solution, is to replace both.

Read this :

1 . Deleting or disabling these lines in refresh_base_model() function in default_pipeline.py:

if not isinstance(xl_base.unet.model, SDXL): print('Model not supported. Fooocus only support SDXL model as the base model.') xl_base = None xl_base_hash = '' refresh_base_model(modules.path.default_base_model_name) xl_base_hash = name xl_base_patched = xl_base xl_base_patched_hash = '' return

2 . Put a CHECKPOINT TRAINED type model like DreamSharper in checkpoints folder and set it in advanced section (refinder to None)

  1. Optional: You can put Lora type model in loras folder and use with your base model

I'll update this as I explore different types of models.

from fooocus.

ujl123 avatar ujl123 commented on September 20, 2024 2

Advanced checkbox, then advanced tab on the right

from fooocus.

vinjn avatar vinjn commented on September 20, 2024 1

Nope it didn't work and I saw the following error:

Model not supported. Fooocus only support SDXL model as the base model.

from fooocus.

Tigwin avatar Tigwin commented on September 20, 2024 1

It would be really nice if we could use a different base for the initial render and then use sdxl refiner or base+refiner to finish it off.

from fooocus.

ujl123 avatar ujl123 commented on September 20, 2024

Nope it didn't work and I saw the following error:

Model not supported. Fooocus only support SDXL model as the base model.

Sorry for misleading you. I had misread your title and thought you wanted other base models of SDXL that wasn't the basic one that SAI released. AFAIK only the base SDXL models work.

from fooocus.

mashb1t avatar mashb1t commented on September 20, 2024

It would be really nice if we could use a different base for the initial render and then use sdxl refiner or base+refiner to finish it off.

Well, it's been a long time folks, but the answer is exactly this: #1568 (comment)

from fooocus.

Riohigh6387 avatar Riohigh6387 commented on September 20, 2024

πŸ‘ Solution to use other models on Fooocus :

Don't read this :

Models have different types that should be loaded correctly in their special place , a model generates images and another changes or refines it , that's the standard. Some models come with the whole sequence , but in separated files , because they have to be loaded in that standard. Example of that is the default XL model that Fooocus uses , it is one model but comes in two files , and it causes problems if you intend to replace only one of them. Solution, is to replace both.

Read this :

1 . Deleting or disabling these lines in refresh_base_model() function in default_pipeline.py:

if not isinstance(xl_base.unet.model, SDXL): print('Model not supported. Fooocus only support SDXL model as the base model.') xl_base = None xl_base_hash = '' refresh_base_model(modules.path.default_base_model_name) xl_base_hash = name xl_base_patched = xl_base xl_base_patched_hash = '' return

2 . Put a CHECKPOINT TRAINED type model like DreamSharper in checkpoints folder and set it in advanced section (refinder to None)

  1. Optional: You can put Lora type model in loras folder and use with your base model

I'll update this as I explore different types of models.

Any updates? i did exactly as you said and it worked fine till it didnt , wampwamp.black screen at finish.. Do you know what i can do to prevent this? anything helps, i like to tinker. Thanks in advance.

from fooocus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.