You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: