StreamingT2V icon indicating copy to clipboard operation
StreamingT2V copied to clipboard

No module named 't2v_enhanced'

Open Yuehongzhe opened this issue 10 months ago • 5 comments

1713790476091

(.venv) PS D:\Python file\StreamingT2V-main\StreamingT2V-main\t2v_enhanced> python inference.py --prompt="A cat running on the street" Traceback (most recent call last): File "D:\Python file\StreamingT2V-main\StreamingT2V-main\t2v_enhanced\inference.py", line 11, in from t2v_enhanced.model.video_ldm import VideoLDM ModuleNotFoundError: No module named 't2v_enhanced'

Yuehongzhe avatar Apr 22 '24 12:04 Yuehongzhe

you can add this in gradio_demo.py and inference.py

import sys sys.path.append("../") sys.path.append("../t2v_enhanced/") image

xinsonggaodragonplus avatar Apr 23 '24 07:04 xinsonggaodragonplus

+1 ,no work, even if modified it as you said

whk6688 avatar Apr 24 '24 09:04 whk6688

I meet this problem also.

lindadev77 avatar May 04 '24 13:05 lindadev77

D:\StreamingT2V\StreamingT2V\StreamingT2V\t2v_enhanced>python inference.py --prompt="A cat running on the street" Traceback (most recent call last): File "D:\StreamingT2V\StreamingT2V\StreamingT2V\t2v_enhanced\inference.py", line 11, in from t2v_enhanced.model.video_ldm import VideoLDM ModuleNotFoundError: No module named 't2v_enhanced'

iopa788 avatar May 12 '24 00:05 iopa788

@iopa788 @lindadev77 @whk6688 @Yuehongzhe Can you do a print of your sys.path and post the result here?

For instance by adding

import sys
print(sys.path)

right before line 11 of t2v_enhanced\inference.py

rob-hen avatar Aug 29 '24 13:08 rob-hen