Closed gogoldgoal closed 6 months ago
Typically, lama_cleaner is automatically installed during the execution of the web UI launch script. However, you can install it manually using the commands below.
For Windows:
.\venv\Scripts\activate
pip install lama-cleaner
deactivate
For Linux:
source ./venv/bin/activate
pip install lama-cleaner
deactivate
Duplicate of #31
Typically, lama_cleaner is automatically installed during the execution of the web UI launch script. However, you can install it manually using the commands below.
For Windows:
.\venv\Scripts\activate pip install lama-cleaner deactivate
For Linux:
source ./venv/bin/activate pip install lama-cleaner deactivate
it seems this installation does not work when using automatic1111 in google colab, because it would be installed to temporary storage, rather than google drive. That's why the module is gone once the session end, and cause this error message.
I have tested it on Google Colab, and it appears to start without any errors when the --enable-insecure-extension-access
option is included in the startup command as shown below:
!python launch.py --share --xformers --enable-insecure-extension-access
Hey! Thank you for your model! I have an issue. The Tab is not showing. I have tried
I am using a SD Deploy on Runpod Hope this helps.
Thank you!
The Log is giving me the folowing Error Thank you for your help!
2023-09-04T09:33:35.093845854Z *** Error loading script: inpaint_anything.py
2023-09-04T09:33:35.097113423Z Traceback (most recent call last):
2023-09-04T09:33:35.097125803Z File "/workspace/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts
2023-09-04T09:33:35.097130093Z script_module = script_loading.load_module(scriptfile.path)
2023-09-04T09:33:35.097133133Z File "/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
2023-09-04T09:33:35.097136653Z module_spec.loader.exec_module(module)
2023-09-04T09:33:35.097139673Z File "
The Log is giving me the folowing Error
It's possible that your package is corrupted. I recommend deleting the venv folder in the stable-diffusion-webui folder, then run webui.sh to reinstall the package from scratch.
Duplicate of #63
I have included lama_cleaner in the repository, so I am closing this issue.
if this is a requirement for it to load, i think it'd better to include it during extension installation process. BTW, where can we find this lama_cleaner module and install it in automatic1111?
*** Error loading script: inpaint_anything.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-inpaint-anything/scripts/inpaint_anything.py", line 20, in
from lama_cleaner.model_manager import ModelManager
ModuleNotFoundError: No module named 'lama_cleaner'