bbc-mc / sdweb-merge-board

Multi-step automation merge tool. Extension/Script for Stable Diffusion UI by AUTOMATIC1111 https://github.com/AUTOMATIC1111/stable-diffusion-webui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Merges Fail, probably because of Subfolders

keiex opened this issue · comments

commented

i'm using subfolders to organize my models and the merge board doesn't seems to work, I've tried only one lane and it still failed

image
image

Thank you for reporting!

I found some update about "extra.run_modelmerger" and "Checkpoint format" feature, which affect issue of your report.
And using sub-directory is/has supported on this Extension. (I'm also sub-directory user !)

I found there was change on "extra.run_modelmerger" function now require "checkpoint_format" as new param, and old code dont have.
AUTOMATIC1111/stable-diffusion-webui@dac9b6f/modules/extras.py#L253

"checkpoint format" is new functionality, which support new format "safetensors".

So in this commit I do,

  • Add error printing code in case exception raises
  • Add "Checkpoint format" Radio in UI, default="ckpt"
  • "Recipe" format is slightly changed

With this commit, I have no error merging with sub-directory models.

Please try and I hope you enjoy !