Fooocus icon indicating copy to clipboard operation
Fooocus copied to clipboard

model / LoRA dropdown bug on initial start

Open mashb1t opened this issue 1 year ago • 2 comments

I maybe found a bug with the LoRA dropdowns:

I'm running in a Google Colab machine with the following code:

!rm -rf /content/Fooocus
%cd /content
!git clone -b develop https://github.com/lllyasviel/Fooocus.git
%cd /content/Fooocus
!python entry_with_update.py --share --always-high-vram --all-in-fp16

Then click Advanced - Model and open the LoRA 1 dropdown with the sd_xl_offset_example-lora_1: image

The dropdown itself only contains a 'None' value and after choosing 'None' and opening the dropdown again, the sd_xl_offset_example-lora_1 is gone forever: image

It works again after clicking 'Refresh all files'.

Originally posted by @f0n51 in https://github.com/lllyasviel/Fooocus/discussions/2362#discussioncomment-8602289

mashb1t avatar Feb 27 '24 16:02 mashb1t

This is i think a general issue already present in the main branch. Please double-check it there We might have to add an initial reload after lora/model download and first "cold boot"

https://github.com/lllyasviel/Fooocus/discussions/2362#discussioncomment-8604253

mashb1t avatar Feb 27 '24 16:02 mashb1t

I can confirm now, that this is a bug in the main branch too :-)

f0n51 avatar Feb 28 '24 06:02 f0n51

resolved, took a while to get to the topic again but it works now

mashb1t avatar Jul 17 '24 08:07 mashb1t