Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 't2v_enhanced' #35

Open
Yuehongzhe opened this issue Apr 22, 2024 · 5 comments
Open

No module named 't2v_enhanced' #35

Yuehongzhe opened this issue Apr 22, 2024 · 5 comments

Comments

@Yuehongzhe
Copy link

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'

@xinsonggaodragonplus
Copy link

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

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

@whk6688
Copy link

whk6688 commented Apr 24, 2024

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

@lindadev77
Copy link

I meet this problem also.

@iopa788
Copy link

iopa788 commented May 12, 2024

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'

@rob-hen
Copy link
Collaborator

rob-hen commented Aug 29, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants