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 do I turn off the screen spam? #129

Closed
DarkAlchy opened this issue Dec 30, 2023 · 1 comment
Closed

How do I turn off the screen spam? #129

DarkAlchy opened this issue Dec 30, 2023 · 1 comment

Comments

@DarkAlchy
Copy link

Setting up [LPIPS] perceptual loss: trunk [alex], v[0.1], spatial [off]
Loading model from: F:\strohs\venv\lib\site-packages\lpips\weights\v0.1\alex.pth

That is spit out each time the pbar updates with the mean loss.

@richzhang
Copy link
Owner

richzhang commented Jan 18, 2024

Make sure you're only setting up the loss object once, for example loss_fn = lpips.LPIPS(net='alex'). Not everytime the loss is being computed

You can also turn verbose=False https://github.com/richzhang/PerceptualSimilarity/blob/master/lpips/lpips.py#L61

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