Skip to content

[Bug]: Dreambooth extension doesn't create a new model in a Firefox browser #7071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
sebaxakerhtc opened this issue Jan 22, 2023 · 10 comments
Closed
1 task done
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@sebaxakerhtc
Copy link

sebaxakerhtc commented Jan 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Dreambooth extension doesn't work in Mozilla Firefox browser.
Google chrome works fine.

Steps to reproduce the problem

  1. Go to dreambooth tab
  2. Press create model
  3. Recieve errors
  4. Look at CMD windows and get
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range

What should have happened?

Should be created a new model

Commit where the problem happens

c98cb0f

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--xformers --listen --enable-insecure-extension-access --no-half

Additional information, context and logs

The issue was created at dreambooth extension issues, but was closed and deleted by the owner. The answer from @d8ahazard was (quote):
"
You wanna bitch at somebody about "fixing" the issue, go bitch at Auto1111 for the way his extension system works. I didn't make it so that requirements don't get fully installed when "installing" things, I don't randomly decide to update requirements and change base methods in the web app without warning anybody, and I certainly didn't make it so that you have to press CONTROL AND F5 to force the web cache to reload.
"
Please, help us resolve the issue
Also this issue can confirm @HanJammer and @caretaker0815

@sebaxakerhtc sebaxakerhtc added the bug-report Report of a bug, yet to be confirmed label Jan 22, 2023
@mykeehu
Copy link
Contributor

mykeehu commented Jan 22, 2023

The bug should be reported on the DB extension page:
https://github.com/d8ahazard/sd_dreambooth_extension/issues

@sebaxakerhtc
Copy link
Author

The bug should be reported on the DB extension page

There was reported, but was closed and deleted. Do you read "Additional information, context and logs" above?

@mykeehu
Copy link
Contributor

mykeehu commented Jan 22, 2023

I just tried it with this configuration, under Firefox, and the model was created without error:

Python revision: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Dreambooth revision: e693070d62885313e67cb49dabe4fa5a510b36a6
SD-WebUI revision: c98cb0f8ecc904666f47684e238dd022039ca16f

Checking Dreambooth requirements...
[+] bitsandbytes version 0.35.0 installed.
[+] diffusers version 0.10.2 installed.
[+] transformers version 4.25.1 installed.
[+] xformers version 0.0.14.dev0 installed.
[+] torch version 1.12.1+cu116 installed.
[+] torchvision version 0.13.1+cu116 installed.

My command this:
--xformers --ckpt-dir V:\\!SDModels --ui-config-file 1my/ui-config-my.json --ui-settings-file 1my/config-my.json --autolaunch --gradio-img2img-tool color-sketch

image

@sebaxakerhtc
Copy link
Author

This is strange.
On external link I can create model, but on localhost I can't

@ljleb
Copy link
Contributor

ljleb commented Jan 23, 2023

I ran into an issue in the past where a firefox extension that messed with page code (duckduckgo ext) prevented img2img from working properly. Maybe try to disable some of them if you have any active and see if it changes something.

@d3c0deFPV
Copy link

I came across this post after getting the same error. Worked fine in another browser, and also worked in Firefox private window. Tried toggling a bunch of settings and disabling all extensions, but ultimately just clearing my cache/cookies resolved this for me.

I'm now able to create models in a standard Firefox window on version 109.0 (64-bit).

@sebaxakerhtc
Copy link
Author

clearing my cache/cookies

Thank you. It helped.
Menu => History => Manage history => search "localhost:7860" in my case => Forget about this website

@haqthat
Copy link

haqthat commented Jan 23, 2023

Ctrl-F5 worked for me. To reload the UI in firefox.

@d8ahazard
Copy link
Collaborator

d8ahazard commented Jan 23, 2023

Shocker. My initial suggestion of "reload the web page" was exactly what was needed.

@HanJammer
Copy link

HanJammer commented Jan 23, 2023

Like @sebaxakerhtc said the bug was reported, but @d8ahazard was very unhelpful and rude using f*** words and blaming @AUTOMATIC1111 for the extension not working properly (hence the issue ticket created by @sebaxakerhtc here I guess). Apparently @d8ahazard deleted the closed ticket being ashamed of his behavior after my post explaining him that people sending issue tickets are not his enemies.

Anyway the problem is intermittent - it comes and goes sometimes refreshing the page (CTRL+F5) works, sometimes it does not. Sometimes it's not necessary at all because suddenly everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

7 participants