Skip to content
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

scann and imwatermark module issues with Windows 10 #4

Open
b5071 opened this issue Oct 25, 2022 · 0 comments
Open

scann and imwatermark module issues with Windows 10 #4

b5071 opened this issue Oct 25, 2022 · 0 comments

Comments

@b5071
Copy link

b5071 commented Oct 25, 2022

Hello,

Thank you for writing this extension. I have been unable to get it working on a Windows machine... I am getting these errors on Windows 10 when trying to use this repo as an extension with stable-diffusion-webui. I think they may be specific to Windows, as I've had trouble finding a version of the "scann" module for Windows.

The errors that appear when running stable-diffusion-webui's webui.bat or webui-user.bat are as follows:


Error loading script: gen_aesthetic_embeddings.py
Traceback (most recent call last):
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\modules\scripts.py", line 159, in load_scripts
exec(compiled, module.dict)
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\extensions\stable-diffusion-aesthetic-gradients\scripts\gen_aesthetic_embeddings.py", line 23, in
embs = torch.cat(embs, dim=0).mean(dim=0, keepdim=True)
RuntimeError: torch.cat(): expected a non-empty list of Tensors

Error loading script: knn2img.py
Traceback (most recent call last):
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\modules\scripts.py", line 159, in load_scripts
exec(compiled, module.dict)
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\extensions\stable-diffusion-aesthetic-gradients\scripts\knn2img.py", line 12, in
import scann
ModuleNotFoundError: No module named 'scann'

Error loading script: train_searcher.py
Traceback (most recent call last):
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\modules\scripts.py", line 159, in load_scripts
exec(compiled, module.dict)
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\extensions\stable-diffusion-aesthetic-gradients\scripts\train_searcher.py", line 3, in
import scann
ModuleNotFoundError: No module named 'scann'

Error loading script: txt2img.py
Traceback (most recent call last):
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\modules\scripts.py", line 159, in load_scripts
exec(compiled, module.dict)
File "C:\Users\bryan\stable-diffusion-webui-new\stable-diffusion-webui\extensions\stable-diffusion-aesthetic-gradients\scripts\txt2img.py", line 8, in
from imwatermark import WatermarkEncoder
ModuleNotFoundError: No module named 'imwatermark'


Please let me know if you may know why this is happening, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant