Need some help with stable diffusion

Midnight-Phantom

( Enigmatic-Entity )
Joined
Feb 27, 2023
Messages
323
Points
78
I need some help with stable diffusion. I downloaded SD and ran an open-source model from Civitai, the most downloaded one that is recommended when you first visit the site. Everything was smooth and there were no errors.

Then, I downloaded a lot of models, including lora, LyCORIS, and vae. I noticed that they are all in the same type of file (.safetensors), which is confusing. I divided them as much as I could by file size, because most of the models or checkpoints are more than 1 gigabyte in size, and loras are up to 900 megabytes. However, even then, it is difficult to differentiate between lora, LyCORIS, vae, and embedigens. I was only able to find 3-4 vae files and the same number of LyCORIS files based on their name. I am pretty sure there were more of them, but the downloaded files do not have any indicators, so I just dumped all 1 gigabyte or larger files into the "models" folder and the smaller files into the "loras" folder.

After doing all of that, I ran the webui-user cmd script. However, I got an error while the webui-user cmd script was running, before the eventual user interface of stable diffusion was loaded. The error message said things about visual c++, failed building wheel for dlib, and cmake.

So, I downloaded cmake, Visual Studio 2022, and even the Visual C++ Redistributable for Windows. I added all of them to my path at the time of installation, but I am still getting the errors.

However, there are no issues with the Webui interface and I can render smoothly. I just copied the whole prompts from the Civitia site picks, and I need a lot of time to properly learn how to use the prompts and the interface altogether.

I don't know what to do now. Getting errors is not good for my mental health. I have asked @greyblob about the issue and he said that I should downgrade my Python and see. However, we are currently having some electricity issues and I have to wait for the power to come back on before I can troubleshoot the problem. I don't have any backup power, and I know that it's not good, but good backup power systems are too expensive. So, for electricity issues, I have to postpone troubleshooting the issue until then.

I only know @Corty @Reinaislost who use stable diffusion except @greyblob so I'm mentioning them.

If you guys or the one seeing this thread have had this issue or know what to do, please help.

Or I just follow the saying "if it's works don't mess with it"

My system specs:

Windows 11: fully updated, including optional updates
CPU: AMD Ryzen 7 5800X
Memory: 32 GB
GPU: NVIDIA GeForce RTX 3070 #24 GB Memory
Drivers: all fully updated

Things required for running stable diffusion and also downloaded after getting CMD errors:

CMake: 3.27.0
Visual Studio Community 2022: 17.6.0
Python: 3.11.4150.0
Git: 2.41.0

venv "C:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
==============================================================================================================
INCOMPATIBLE PYTHON VERSION

This program is tested with 3.10.6 Python, but you have 3.11.4.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.

You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/

Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases

Use --skip-python-version-check to suppress this warning.
==============================================================================================================
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Version: v1.3.2
Commit hash: baf6946e06249c5af9851c60171692c44ef633e0
Installing requirements
Requirement already satisfied: send2trash~=1.8 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (1.8.2)
Requirement already satisfied: dynamicprompts[attentiongrabber,magicprompt]~=0.27.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (0.27.0)
Requirement already satisfied: jinja2~=3.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.1.2)
Requirement already satisfied: pyparsing~=3.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.1.0)
Requirement already satisfied: transformers[torch]~=4.19 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (4.25.1)
Requirement already satisfied: MarkupSafe>=2.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from jinja2~=3.1->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2.1.3)
Requirement already satisfied: filelock in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.12.2)
Requirement already satisfied: huggingface-hub<1.0,>=0.10.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (0.15.1)
Requirement already satisfied: numpy>=1.17 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (1.23.5)
Requirement already satisfied: packaging>=20.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (23.1)
Requirement already satisfied: pyyaml>=5.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (6.0)
Requirement already satisfied: regex!=2019.12.17 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2023.6.3)
Requirement already satisfied: requests in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2.31.0)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (0.13.3)
Requirement already satisfied: tqdm>=4.27 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (4.65.0)
Requirement already satisfied: torch!=1.12.0,>=1.7 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2.0.1+cu118)
Requirement already satisfied: fsspec in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub<1.0,>=0.10.0->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2023.6.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from huggingface-hub<1.0,>=0.10.0->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (4.6.3)
Requirement already satisfied: sympy in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from torch!=1.12.0,>=1.7->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (1.12)
Requirement already satisfied: networkx in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from torch!=1.12.0,>=1.7->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.1)
Requirement already satisfied: colorama in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from tqdm>=4.27->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (0.4.6)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (2023.5.7)
Requirement already satisfied: mpmath>=0.19 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from sympy->torch!=1.12.0,>=1.7->transformers[torch]~=4.19->dynamicprompts[attentiongrabber,magicprompt]~=0.27.0) (1.3.0)
sd-dynamic-prompts installer: running 'C:\AI\stable-diffusion-webui\venv\Scripts\python.exe' -m pip install 'send2trash~=1.8' 'dynamicprompts[attentiongrabber,magicprompt]~=0.27.0'


No module 'xformers'. Proceeding without it.
Installing dlib
Couldn't install dlib.
Command: "C:\AI\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install dlib==19.24.0
Error code: 1
stdout: Collecting dlib==19.24.0
Using cached dlib-19.24.0.tar.gz (3.2 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py): started
Building wheel for dlib (setup.py): finished with status 'error'
Running setup.py clean for dlib
Failed to build dlib

stderr: error: subprocess-exited-with-error

python setup.py bdist_wheel did not run successfully.
exit code: 1

[78 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(cmake_version) < '3.1.0':
Building extension for Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\build\lib.win-amd64-cpython-311 -DPYTHON_EXECUTABLE=C:\AI\stable-diffusion-webui\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\build\lib.win-amd64-cpython-311 -A x64'
-- Building for: NMake Makefiles
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.


CMake Error at CMakeLists.txt:5 (message):



!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


You must use Visual Studio to build a python extension on windows. If you
are getting this error it means you have not installed Visual C++. Note
that there are many flavors of Visual Studio, like Visual Studio for C#
development. You need to install Visual Studio for C++.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\setup.py", line 222, in <module>
setup(
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
self.run_command(cmd)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\wheel\bdist_wheel.py", line 343, in run
self.run_command("build")
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
self.run_command(cmd_name)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\AI\stable-diffusion-webui\venv\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
cmd_obj.run()
File "C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\setup.py", line 134, in run
self.build_extension(ext)
File "C:\Users\suman\AppData\Local\Temp\pip-install-j6lup6bf\dlib_ae1c2e84b4fb474baf8b72211a09c396\setup.py", line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "C:\Users\suman\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\suman\\AppData\\Local\\Temp\\pip-install-j6lup6bf\\dlib_ae1c2e84b4fb474baf8b72211a09c396\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\suman\\AppData\\Local\\Temp\\pip-install-j6lup6bf\\dlib_ae1c2e84b4fb474baf8b72211a09c396\\build\\lib.win-amd64-cpython-311', '-DPYTHON_EXECUTABLE=C:\\AI\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\suman\\AppData\\Local\\Temp\\pip-install-j6lup6bf\\dlib_ae1c2e84b4fb474baf8b72211a09c396\\build\\lib.win-amd64-cpython-311', '-A', 'x64']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects

----------------------------------------------
Failed building wheel for dlib
ERROR: CMake must be installed to build dlib
Install cmake from https://cmake.org/download/
----------------------------------------------

Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: C:\AI\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
sd-webui-prompt-all-in-one background API service started successfully.
Error loading script: em_api.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\em_api.py", line 16, in <module>
from eyemask.api import EyeMaskApi
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\api\__init__.py", line 3, in <module>
from . api import EyeMaskApi
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\api\api.py", line 8, in <module>
from .. import script as eye_mask_script
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\script.py", line 7, in <module>
from . import mask_generator, utils, widlcards
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\mask_generator.py", line 2, in <module>
import dlib
ModuleNotFoundError: No module named 'dlib'

Error loading script: em_script.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\em_script.py", line 15, in <module>
from eyemask import constants, ui, script as eye_mask_script
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\ui.py", line 8, in <module>
from . import constants, script, script_embedded, utils, widlcards, state, mask_generator
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\script.py", line 7, in <module>
from . import mask_generator, utils, widlcards
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\mask_generator.py", line 2, in <module>
import dlib
ModuleNotFoundError: No module named 'dlib'

Error loading script: em_script_embedded.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 263, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\em_script_embedded.py", line 15, in <module>
from eyemask import constants, ui, script_embedded as eye_mask_script
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\ui.py", line 8, in <module>
from . import constants, script, script_embedded, utils, widlcards, state, mask_generator
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\script.py", line 7, in <module>
from . import mask_generator, utils, widlcards
File "C:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-eyemask\scripts\eyemask\mask_generator.py", line 2, in <module>
import dlib
ModuleNotFoundError: No module named 'dlib'

Loading weights [e4a30e4607] from C:\AI\stable-diffusion-webui\models\Stable-diffusion\majicmixRealistic_v6.safetensors
Creating model from config: C:\AI\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying optimization: Doggettx... done.
Textual inversion embeddings loaded(0):
Model loaded in 3.8s (load weights from disk: 0.7s, create model: 0.6s, apply weights to model: 0.5s, apply half(): 0.5s, move model to device: 0.4s, load textual inversion embeddings: 1.1s).
Running on local URL: http://

To create a public link, set `share=True` in `launch()`.
Startup time: 12.4s (import torch: 1.4s, import gradio: 0.9s, import ldm: 0.5s, other imports: 0.7s, list SD models: 0.3s, load scripts: 1.9s, create ui: 4.4s, gradio launch: 2.2s).
Interrupted with signal 2 in <frame at 0x00000176369C6B20, file 'C:\\Users\\suman\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\threading.py', line 324, code wait>
Terminate batch job (Y/N)?

Screenshot 2023-06-26 192213.png

00084-0.jpg
 
Last edited:

Midnight-Phantom

( Enigmatic-Entity )
Joined
Feb 27, 2023
Messages
323
Points
78
I kinda read the release notes and downgrading Python will shorten v ram in renders and i did saw it's compatible with previous models tho they recommended developers to upgrade and sutch ..

and as i said 1st time i run it and with only one model no lora, lycoris, vae and there was no issues except the note in cmd about Python
On civit, you can go to your download history. Make sure the models are in the right folders.
I'll check then .. *cough* but theirs a lot i mean a lot of models that i have downloaded .. *cough*
And how the hell does the pose work ? where I dump the files ?
Devinection using Google about these things is not working .. :blob_teary:
and i saw an error about " xformers " now what is that .. some lost brother of dilib or something ..
 
Last edited:

Syringe

Bluetooth 7 Enabled Holy Blade w/ Red Dot Sight
Joined
Jul 17, 2019
Messages
512
Points
133
Looks like you have some stuff where it shouldn't be (As you also said). I had similar errors starting out too.

About the Loras and Checkpoints, check their downloaded names and cross reference them with the ones in Civit. Rule of thumb if you're downloading stuff en masse is to do it by category first (i.e, Checkpoints, then Loras, etc - to not get confused).

VAEs and Checkpoints go into the Stable-Diffusion folder. Others are self explanatory and should be within the 'Models' folder.

1687790100274.png


EXCEPT FOR 'TEXTUAL INVERSION'

They go into the 'embeddings' folder

1687790267175.png


Textual Inversions being in the wrong place gave me similar errors before. Fixing them ironed everything out for me, but it looks like you have them in the right place.

Another thing to note are LyCORIS. They're not packaged into AUTOMATIC1111 last time I checked (might have changed). You gotta get it seperately.

I'm just throwing out ideas, but having stuff in the right place fixed everything in my experience.
 

Midnight-Phantom

( Enigmatic-Entity )
Joined
Feb 27, 2023
Messages
323
Points
78
That looked like a complied .exe file that loads a moded version of full automatic 1111 with probably bundled some other things,

Tip - I would not recommend using any mods it if it was not in git hub, using such can cause a lot of issues there can be a lot of bad scripts and trust me you don't wanna download mods without a valid source .. people can inject a lot of things via .exe in there and please always update your windows and defender, and keep a windows iso flash drive all the times. if any malware got injected into the system clear cmos and format your drives then reinstall Windows. trust me any user should know about that.
Looks like you have some stuff where it shouldn't be (As you also said). I had similar errors starting out too.

About the Loras and Checkpoints, check their downloaded names and cross reference them with the ones in Civit. Rule of thumb if you're downloading stuff en masse is to do it by category first (i.e, Checkpoints, then Loras, etc - to not get confused).

VAEs and Checkpoints go into the Stable-Diffusion folder. Others are self explanatory and should be within the 'Models' folder.

View attachment 19649

EXCEPT FOR 'TEXTUAL INVERSION'

They go into the 'embeddings' folder

View attachment 19650

Textual Inversions being in the wrong place gave me similar errors before. Fixing them ironed everything out for me, but it looks like you have them in the right place.

Another thing to note are LyCORIS. They're not packaged into AUTOMATIC1111 last time I checked (might have changed). You gotta get it seperately.

I'm just throwing out ideas, but having stuff in the right place fixed everything in my experience.
i did get them separately and via the extension tab in web UI ..

yeah i am also thinking about if those files caused the issues for that i need a lot of time and see if it's fixed them , tho i am kinda thinking of moving everything and follow civid ai for proper arrangements.


where are the devs .. properly separate the type of files or at least have the decency to rename files indicating what type of file is it ..

there is nothing on Google about those issues where is the concept to user-friendly things i thought open source is all about that ..
does removing all models and loras from their folders fix the issue?
Good idea , but will it cause some errors? like there should be some runtime scripts or cash there isn't it?
 
Last edited:

greyblob

"Staff Memeber" pleasr
Joined
Feb 6, 2021
Messages
2,745
Points
153
Good idea , but will it cause some errors? like there should be some runtime scripts or cash there isn't it?
no. remove everything you downloaded: models, loras, etc. cut all into a different file. if that doesn't work create a fresh install from here:
this is by the creator of automatic1111.
 

Corty

Ra’Coon
Joined
Oct 7, 2022
Messages
4,666
Points
183
Tip - I would not recommend using any mods it if it was not in git hub, using such can cause a lot of issues there can be a lot of bad scripts and trust me you don't wanna download mods without a valid source .. people can inject a lot of things via .exe in there and please always update your windows and defender, and keep a windows iso flash drive all the times. if any malware got injected into the system clear cmos and format your drives then reinstall Windows. trust me any user should know about that.
Sorry but I'm not Mutahar to go that far to create some 2D boobies for myself.
 

Midnight-Phantom

( Enigmatic-Entity )
Joined
Feb 27, 2023
Messages
323
Points
78
So my extensive divination comes down to:

Dlib is used for face recognition. Some models are based on characters, Dlib recognizes faces.

it's the Loras and models both, any that recure a prompt such *naruto* will cause problems so if I want to fix or use the prompts I have to solve the errors ... let's see reinstalling C++ can do something .. otherwise, i am gonna run as it is .. and generate .. using universal prompt key words like boy or girl ..
 
Top