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

ImportError: cannot import name 'safety_check' from 'app' #41

Open
CRCODE22 opened this issue Nov 24, 2024 · 1 comment
Open

ImportError: cannot import name 'safety_check' from 'app' #41

CRCODE22 opened this issue Nov 24, 2024 · 1 comment

Comments

@CRCODE22
Copy link

(sana) K:\Sana>python app\app_sana.py --config configs\sana_config\1024ms\Sana_1600M_img1024.yaml --model_path Efficient-Large-Model\Sana_1600M_1024px\checkpoints\Sana_1600M_1024px.pth
Traceback (most recent call last):
File "K:\Sana\app\app_sana.py", line 34, in
from app import safety_check
ImportError: cannot import name 'safety_check' from 'app' (e:\anaconda3\envs\sana\lib\site-packages\app_init_.py)

@lawrence-cj
Copy link
Collaborator

Have you followed the env installation step by step?

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

2 participants