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

How to remove the notification when using lpips #62

Closed
thunanguyen opened this issue Feb 13, 2021 · 2 comments
Closed

How to remove the notification when using lpips #62

thunanguyen opened this issue Feb 13, 2021 · 2 comments

Comments

@thunanguyen
Copy link

I've tried to use lpips in my super-resolution project and it keeps printing:
"Loading model from: C:\Workspace\envs\workplace\lib\site-packages\lpips\weights\v0.1\alex.pth
Setting up [LPIPS] perceptual loss: trunk [alex], v[0.1], spatial [off]"

Is there any way to turn it off?

@mago876
Copy link

mago876 commented Mar 15, 2021

You can set the 'verbose' flag to 'False': loss_fn_alex = lpips.LPIPS(net='alex', verbose=False)

@thunanguyen
Copy link
Author

You can set the 'verbose' flag to 'False': loss_fn_alex = lpips.LPIPS(net='alex', verbose=False)

thanks

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