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

fast-DreamBooth

Open lgrkvst opened this issue 3 years ago • 3 comments

Edit: sorry for bad title – cannot correct it

Hi, I did a classical training (Dreambooth with class images – not the new Fast Method) and tripped on __ Test the trained model__:

Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 171, in <module>
    webui()
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 132, in webui
    demo = modules.ui.create_ui(wrap_gradio_gpu_call=wrap_gradio_gpu_call) 
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/ui.py", line 1241, in create_ui
    new_hypernetwork_activation_func = gr.Dropdown(value="relu", label="Select activation function of hypernetwork", choices=modules.hypernetworks.ui.keys)
AttributeError: module 'modules.hypernetworks.ui' has no attribute 'keys'

lgrkvst avatar Oct 26 '22 09:10 lgrkvst

check the box "update repo"

TheLastBen avatar Oct 26 '22 09:10 TheLastBen

Upon closer inspection the real failure was that git failed to fetch/merge, since there were local changes in modules/paths.py, ui.py and webui.py. (Oddest thing as I never touched files in the repo "manually", so something in the colab or the repo code itself has rewritten those files at some point.)

lgrkvst avatar Oct 26 '22 14:10 lgrkvst

The are modified for colab compatibility, but they are supposed to be removed right before "git pull"

TheLastBen avatar Oct 26 '22 15:10 TheLastBen