mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
04d8f2dfea
Do not use `strict=True` when scaling controlnet conditioning. When using `guess_mode` (e.g. `more_control` or `more_prompt`), `down_block_res_samples` and `scales` are zipped. These two objects are of different lengths, so using zip's strict mode raises an error. In testing, `len(scales) === len(down_block_res_samples) + 1`. It appears this behaviour is intentional, as the final "extra" item in `scales` is used immediately afterwards. |
||
---|---|---|
.. | ||
__init__.py | ||
attention.py | ||
db_maintenance.py | ||
devices.py | ||
hotfixes.py | ||
log.py | ||
logging.py | ||
mps_fixes.py | ||
test_utils.py | ||
util.py |