Open kalle07 opened 11 months ago
pip install invisible-watermark
thx ;)
next error: ................ (venv) PS E:\generative-models> streamlit run scripts/demo/sampling.py --server.port 1234
You can now view your Streamlit app in your browser.
Local URL: http://localhost:1234 Network URL: http://192.168.7.21:1234
E:\generative-models\venv\lib\site-packages\torchaudio\backend\utils.py:74: UserWarning: No audio backend is available. warnings.warn("No audio backend is available.") 2023-12-07 09:46:59.149 Uncaught app exception
File "E:\generative-models\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "E:\generative-models\scripts\demo\sampling.py", line 3, in
i follow the steps on https://github.com/Stability-AI/generative-models and https://github.com/Stability-AI/generative-models/issues/172 and https://stable-diffusion-art.com/stable-video-diffusion-img2vid/ ............
why i must install all pagages with hand (already installed 7 packeges cause allways say "modulenotfound..." ? (win10 with 4060RTX, powershel, with created env)
i get one error while install
pip3 install -r .\requirements\pt2.txt
ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10 ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from versions: none) ERROR: No matching distribution found for triton==2.0.0
but i have (venv) PS E:\generative-models> python --version Python 3.10.5 (venv) PS E:\generative-models>
thy for help
Del triton in the requirements then rest libs would be fine https://github.com/Stability-AI/generative-models/issues/41#issuecomment-1642300606 About the error of 'ModuleNotFoundError: No module named 'scripts.demo'' you could try add the sys path before import:
import sys
sys.path.insert(0, 'your root path')
............ Local URL: http://localhost:8501 Network URL: http://192.168.7.21:8501
E:\generative-models\venv\lib\site-packages\torchaudio\backend\utils.py:74: UserWarning: No audio backend is available. warnings.warn("No audio backend is available.") no module 'xformers'. Processing without... no module 'xformers'. Processing without... 2023-12-06 18:54:03.411 Uncaught app exception Traceback (most recent call last): File "E:\generative-models\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.dict) File "E:\generative-models\scripts\demo\video_sampling.py", line 5, in
from scripts.demo.streamlit_helpers import
File "E:\generative-models\scripts\demo\streamlit_helpers.py", line 26, in
from sgm.inference.helpers import embed_watermark
File "E:\generative-models\sgm\inference\helpers.py", line 8, in
from imwatermark import WatermarkEncoder
ModuleNotFoundError: No module named 'imwatermark'
2023-12-06 18:54:03.411 Uncaught app exception
Traceback (most recent call last):
File "E:\generative-models\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "E:\generative-models\scripts\demo\video_sampling.py", line 5, in
from scripts.demo.streamlit_helpers import
File "E:\generative-models\scripts\demo\streamlit_helpers.py", line 26, in
from sgm.inference.helpers import embed_watermark
File "E:\generative-models\sgm\inference\helpers.py", line 8, in
from imwatermark import WatermarkEncoder
ModuleNotFoundError: No module named 'imwatermark'
........
i tryed to install pip install imWatermark
but nothing change