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

understanding this metric #1

Open
nanmehta opened this issue Dec 25, 2020 · 1 comment
Open

understanding this metric #1

nanmehta opened this issue Dec 25, 2020 · 1 comment

Comments

@nanmehta
Copy link

can you please help me to know, why you have used three images in test.py and concatenated the image1 with image 1 and image2 with image3?
please help me I am new to this field

@moono
Copy link
Owner

moono commented Jan 5, 2021

hello,
The model expects two image at a time to compute distance metric(lpips).
To compute multiple (2 in test.py case) distance metric, I just used concatenation for batch process.

  • distance between image1 and image2
  • distance between image1 and image3

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