Skip to content
s1dlx edited this page May 17, 2023 · 2 revisions

Here are some common problems. If the listed solutions do not work, please open a new issue.

AttributeError: module 'clip' has no attribute 'load'

For some reason you do not have the correct dependencies installed. Follow these steps:

  1. open a terminal window and go to webui repository
  2. activate webui venv
  3. launch webui in api mode
  4. open a second terminal window and go again to webui repository
  5. activate webui venv
  6. go to extensions/sd-webui-bayesian-merger folder
  7. python3 -m pip install -r requirements.txt

Why opinionated?

Because we use webui API and lots of config files to run the show. No GUI. Embrace your inner touch-typist and leave the browser for the CLI.

Why rely on webui API?

It's a very popular platform. Chances are that if you already have a working webui, you do not need to do much to run this library.

How many iterations and payloads? What about the batch size?

I'd suggest --init_points 10 --n_iters 10 --batch_size 2 and at least 5 different payloads. Depending on your GPU this may take 2-3hrs to run on basic config. In any case: the more the merrier.