stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Checkpoint Merger not showing checkpoints

Open Christopher-Hayes opened this issue 3 years ago • 9 comments

Describe the bug

If the user has a model.ckpt in the root project directory, the Checkpoint Merger will only show that single model in the dropdowns. It should show all stable diffusion models in the /models folder regardless of whether there's a model.ckpt in the root.

To Reproduce

Steps to reproduce the behavior:

  1. Put a model.ckpt in the root of the project directory.
  2. Put another checkpoint file in the models/Stable-Diffusion directory.
  3. Launch the WebUI.
  4. Open "Checkpoint Merger"
  5. Click on one of the model dropdowns - "Primary Model Name" or "Secondary Model Name".
  6. The dropdown will only show model.ckpt as an option. None of the checkpoints in models/Stable-Diffusion will be shown.

Expected behavior

The dropdowns should show all checkpoints in models/Stable-Diffusion regardless of whether there's a model.ckpt in the project root.

Screenshots

All checkpoints from the models folder are missing: image

Temporary Workaround

Move the model.ckpt from the root directory to the models/Stable-Diffusion directory. Now the WebUI will show all checkpoints in the dropdowns.

Desktop:

  • OS: Linux - Ubuntu 22.04
  • Browser: Chrome
  • Commit revision: 494afccbc1d7b0aca4ffeb3d8354b09c414d95f4

Christopher-Hayes avatar Oct 15 '22 21:10 Christopher-Hayes

I now have two models it refuses to show. It was trained as all the others it shows AND I use it when I render yet is not in any of the checkpoint drop-downs. No idea why. [edit] I think I know why and went to try it. Seems 17 is the max the drop-down allows for checkpoints, so I deleted a bunch of them to restart everything yet again to then see my non appearing checkpoints suddenly appear.

DarkAlchy avatar Oct 20 '22 23:10 DarkAlchy

@DarkAlchy I have 24 models that seem to all show. At some point the dropdown starts to have a scrollbar where you have to scroll to see more models, might be what happened to you, that tripped me up at first.

Christopher-Hayes avatar Oct 21 '22 03:10 Christopher-Hayes

@DarkAlchy I have 24 models that seem to all show. At some point the dropdown starts to have a scrollbar where you have to scroll to see more models, might be what happened to you, that tripped me up at first.

No scroll bar for me in Chromium.

DarkAlchy avatar Oct 21 '22 08:10 DarkAlchy

I have only 3 models and none of them are showing on the dropdowns. Weird thing.

enbermudas avatar Oct 21 '22 23:10 enbermudas

@enbermudas have you tried restarting the web UI? (stopping and restarting the CLI command) That's the only way to get checkpoints to show if you added one while the UI was running.

Christopher-Hayes avatar Oct 22 '22 00:10 Christopher-Hayes

@enbermudas have you tried restarting the web UI? (stopping and restarting the CLI command) That's the only way to get checkpoints to show if you added one while the UI was running.

Did it and it doesn't work, sadly.

enbermudas avatar Oct 22 '22 00:10 enbermudas

@enbermudas have you tried restarting the web UI? (stopping and restarting the CLI command) That's the only way to get checkpoints to show if you added one while the UI was running.

Did it and it doesn't work, sadly.

do you have a model.ckpt in the root folder? As mentioned in this issue description, you have to move it to the models folder or delete

But yeah, there's at least those 2 bugs related to the ckpts showing up

Christopher-Hayes avatar Oct 22 '22 02:10 Christopher-Hayes

Hatayı açıklayın

Kullanıcının model.ckptkök proje dizininde bir dosyası varsa, Checkpoint Merger, açılır menülerde yalnızca o tek modeli gösterecektir. model.ckptKökte a olup olmadığına bakılmaksızın /models klasöründeki tüm kararlı difüzyon modellerini göstermelidir .

Yeniden üretmek

Davranışı yeniden oluşturma adımları:

  1. model.ckptProje dizininin kök dizinine a koyun .
  2. models/Stable-DiffusionDizine başka bir kontrol noktası dosyası koyun .
  3. WebUI'yi başlatın.
  4. "Kontrol Noktası Birleşmesi" ni açın
  5. Model açılır listelerinden birine tıklayın - "Birincil Model Adı" veya "İkincil Model Adı".
  6. Açılır menü yalnızca model.ckptbir seçenek olarak gösterilecektir. Kontrol noktalarından hiçbiri models/Stable-Diffusiongösterilmeyecek.

Beklenen davranış

Açılır menüler , proje kökünde models/Stable-Diffusionolup olmadığına bakılmaksızın tüm kontrol noktalarını göstermelidir .model.ckpt

Ekran görüntüleri

Modeller klasöründeki tüm kontrol noktaları eksik: resim

Geçici Çözüm

model.ckptKök dizinden dizine taşıyın models/Stable-Diffusion. Şimdi WebUI, açılır menülerdeki tüm kontrol noktalarını gösterecek.

Masaüstü:

  • İşletim Sistemi: Linux - Ubuntu 22.04
  • Tarayıcı: Chrome
  • Revizyonu taahhüt et:494afccbc1d7b0aca4ffeb3d8354b09c414d95f4

Hello. I also have 7 model files. But while making transitions to each other, it started to stay in "loading". I can start the process with the model that appears when it is opened for the first time. but when I want to switch between them, unfortunately I can't move forward. Anyone have experience on this?

selim-yildirim avatar Oct 30 '22 16:10 selim-yildirim

I have the same problem, i discovered that if you reload the webpage the models created after the startup doesent show, also would be a great addition if you include a none item into the list so you can clean uno of the spaces when you only want to merge 2 models instead of 3.

Gargantuanman avatar Nov 10 '22 21:11 Gargantuanman