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

Fixed where the square() to preserve distance properties #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GuillaumeRochette
Copy link

This fixes #72 .

@richzhang
Copy link
Owner

Sorry, I probably should have implemented it to be like this to begin with, and then the linear layers wouldn't have to be clamped during training. But the linear layers would have to be modified for this to be computationally equivalent, so I think it'll cause confusion to merge this and update those weights at this point.

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

Successfully merging this pull request may close these issues.

LPIPS Loss producing negative values
2 participants