Comments (10)
For each input image, we produce 20 outputs and compute the distance between each pair of outputs, and take the average. We do this across input images, and take the average.
from bicyclegan.
@richzhang ,thank you, I get the point but still have some questions. Do you compute LPIPS distance between the input image(maps) and the sampled output, or between the corresponding real satellite image and the sampled output?
from bicyclegan.
from bicyclegan.
For each input image, you sample two random codes Z and generated two random outputs at one time. And you do it up to 19 times, i.e., for each input image, you finally get 19 pairs of outputs. After it, you compute LPIPS distance between 19 pairs of outputs and take the average. In your experiment, you do the same operation on 100 inputs and get 1900 pairs of outputs in total, which are used to compute average LPIPS distance. Is it right? @richzhang
from bicyclegan.
Yup! @WorkingCC
from bicyclegan.
@richzhang ,thanks a lot for your patience.
from bicyclegan.
Hi,
Thanks for your great work. For the LPIPS metric, I have one problem, you had tested the LPIPS distance on real images in your corresponding paper, however, as far as I know, there is no paired images in real image set, how can you get that score? Does it mean you compute the distance between random selected real images (not pair, but same domain)?
from bicyclegan.
Yes, they are randomly selected real images. It serves as a "ceiling" -- the results that an algorithm generates given a single A should not be greater than the variation given random ground truth images B.
from bicyclegan.
Yes, I see. Thank you for your patience.
from bicyclegan.
For each input image, you sample two random codes Z and generated two random outputs at one time. And you do it up to 19 times, i.e., for each input image, you finally get 19 pairs of outputs. After it, you compute LPIPS distance between 19 pairs of outputs and take the average. In your experiment, you do the same operation on 100 inputs and get 1900 pairs of outputs in total, which are used to compute average LPIPS distance. Is it right? @richzhang
I think this guy may have some wrong understandings. The right way the collaborator explains is that first you sample 20 images for each real input image, and then you average the distances over all possible pairs of these 20 images which is C_20^2=1900. Finally, this process is repeated over all test images and you get the final score which means if you have n test images, there are 1900 \times n pairs are averaged.
from bicyclegan.
Related Issues (20)
- Why does not large batch size like 128, 256 work well?
- Hi, please help me.
- Very Large Images
- Why my LPIPS distance is larger than what your paper say? HOT 3
- Question about conditional_D implementation HOT 3
- Not clear in the difference between the two latent spaces predicted HOT 5
- Test on single images HOT 1
- Compute graph wrong and one question HOT 4
- test_before_push is a great rapid test file, but seems outdated? HOT 3
- Metric reporting HOT 1
- Question about Encoder in cLR-GAN HOT 1
- Question about generating fake_B_random
- Question: Do you need two separate discriminators? HOT 2
- Incorrect discriminator update for opt.use_same_D HOT 1
- Regarding Training your Own Images HOT 4
- How to train on large images?
- Is there <pix2pix+noise> model code that can be directly run? HOT 1
- diversity question
- TypeError: __init__() got an unexpected keyword argument 'nl_layer'
- Regarding Latent Space Interpolation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bicyclegan.