Comments (7)
π 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)
- 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.
Advanced checkbox, then advanced tab on the right
from fooocus.
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.
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.
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.
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.
π 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)
- Optional: You can put
Lora
type model in loras folder and use with your base modelI'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)
- [Bug]: Can't generate image
- [Feature Request]: Alternative Install Method For Linux Distros HOT 2
- Linux Mint 22 Compatibility Issues HOT 10
- [Feature Request]: Just a comment that your software works fine with my fanless Nvidia GT 1030 with only 2 GB of VRAM -- may want to add to document.
- [Feature Request]: Click-to-Select Inpainting Area and Padding Option in Fooocus
- [Bug]: GPU not connected.
- [Bug]: Low vram mode has an error
- [Feature Request]: Hotkey to hide the inpainting GUI icons
- [Bug]: Github Security Lab Vulnerability Report
- [Bug]: Error Expecting value: line 1 column 1 (char 0) again!
- [Bug]: Letters S,R,F and sometimes Capital Letters not working HOT 2
- [Bug]: 504 Gateway Time-out HOT 10
- Errors βFile not foundβ at first launch HOT 1
- [Bug]: Fooocus stuck at "Moving model(s) has taken 1.17 seconds" when using API HOT 1
- [Bug]: onnxruntime==1.18.1 Installation Issue on Python 3.10.14 - No Matching Distribution Found
- [Feature Request]: Flux support? HOT 3
- [Bug]: RuntimeError: CUDA error: an illegal memory access was encountered HOT 2
- [Feature Request]: Fooocus for cuda:12.2 in docker? HOT 1
- [Feature Request]: Support for [FLUX] (can't be the only one who wants this) HOT 4
- [Feature Request]: Change the sampler in the playground_v2.5 preset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fooocus.