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

Using LPIPS with AMP #128

Open
SerezD opened this issue Nov 9, 2023 · 0 comments
Open

Using LPIPS with AMP #128

SerezD opened this issue Nov 9, 2023 · 0 comments

Comments

@SerezD
Copy link

SerezD commented Nov 9, 2023

Hi, thank you for the repo.

I am trying to add the module to my code, but I noticed that the used GPU memory increases a lot, due to the large VGG architecture. The obvious solution is to reduce batch size, but I would like to try with Automatic Mixed Precision (AMP).

The question is: do you have any suggestion or piece of code on how to use the Perceptual Loss module with AMP?

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

1 participant