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

AttributterError #92

Open
junyizeng opened this issue Jan 22, 2022 · 1 comment
Open

AttributterError #92

junyizeng opened this issue Jan 22, 2022 · 1 comment

Comments

@junyizeng
Copy link

after pip install lpips ,and run the demo,there is a Error.
AttributterErro:moudle 'lpips' has no attribute LPIPS

@arks22
Copy link

arks22 commented Aug 5, 2022

I don't know if you have the same cause, but my problem is solved.
I had named the file lpips.py to test lpips, so import lpips imported lpips.py itself, causing a circular reference.
After changing the file name to lpips_test.py, it worked.

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