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

'lpips' has no attribut 'PerceptualLoss' #56

Closed
jinzhenmu opened this issue Dec 11, 2020 · 2 comments
Closed

'lpips' has no attribut 'PerceptualLoss' #56

jinzhenmu opened this issue Dec 11, 2020 · 2 comments

Comments

@jinzhenmu
Copy link

When i use the ' sudo pip3 install lpips'

  • import lpips

  • and i use ' percept = lpips.PerceptualLoss(model='net-lin', net ='vgg', use_gpu= True)

  • then the error 'lpips' has no attribut 'PerceptualLoss'

@richzhang
Copy link
Owner

I changed the API a bit. You can see the example files for the readme (https://github.com/richzhang/PerceptualSimilarity#quick-start) for the syntax. Sorry for any confusion.

@jinzhenmu
Copy link
Author

Thank you.

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