Open veryvanya opened 10 months ago
Trying to run new video model but watermark filter not being detected.
Traceback (most recent call last): File "C:\AI\Video\StableVideo\generative_models_main\scripts\sampling\simple_video_sample.py", line 16, in from scripts.util.detection.nsfw_and_watermark_dectection import DeepFloydDataFiltering ModuleNotFoundError: No module named 'scripts.util'
You need to add "generative_models_main" to PYTHONPATH
I have the same problem and I added the folder in pythonpath, please helps !
On linux the following works for me:
PYTHONPATH=. streamlit run scripts/demo/video_sampling.py --server.port 8005
from generative-models root.
(source: https://github.com/Stability-AI/generative-models/issues/119#issuecomment-1707643530)
Thanks ! for windows we need to enter first : set PYTHONPATH=. and then : streamlit run scripts/demo/video_sampling.py --server.port 8005
On linux the following works for me:
PYTHONPATH=. streamlit run scripts/demo/video_sampling.py --server.port 8005
from generative-models root.
(source: #119 (comment))
Thanks !
Trying to run new video model but watermark filter not being detected.
Traceback (most recent call last): File "C:\AI\Video\StableVideo\generative_models_main\scripts\sampling\simple_video_sample.py", line 16, in
from scripts.util.detection.nsfw_and_watermark_dectection import DeepFloydDataFiltering
ModuleNotFoundError: No module named 'scripts.util'