You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ See [https://github.com/bioinf-jku/TTUR](https://github.com/bioinf-jku/TTUR) for
5
5
6
6
FID is a measure of similarity between two datasets of images.
7
7
It was shown to correlate well with human judgement of visual quality and is used most often used to evaluate the quality of samples of Generative Adversarial Networks.
8
-
FID is calculated by computing the [Fréchet distance](https://en.wikipedia.org/wiki/Fr%C3%A9chet_distance) between two Gaussians fitted to the feature representations of the Inception network.
8
+
FID is calculated by computing the [Fréchet distance](https://en.wikipedia.org/wiki/Fr%C3%A9chet_distance) between two Gaussians fitted to feature representations of the Inception network.
9
9
10
-
Further insights and evaluation into the FID score can be found in [Are GANs Created Equal? A Large-Scale Study](https://arxiv.org/pdf/1711.10337.pdf)
10
+
Further insights and an independent evaluation of the FID score can be found in [Are GANs Created Equal? A Large-Scale Study](https://arxiv.org/pdf/1711.10337.pdf)
11
11
12
12
## Usage
13
13
@@ -18,14 +18,14 @@ Requirements:
18
18
- numpy
19
19
- scipy
20
20
21
-
To compute the FID score between two datasets, where each dataset is in an individual folder:
21
+
To compute the FID score between two datasets, where images of each dataset are contained in an individual folder:
22
22
```
23
23
./fid_score.py path/to/dataset1 path/to/dataset2
24
24
```
25
25
26
26
To run the evaluation on GPU, use the flag `--gpu N`, where `N` is the index of the GPU to use.
27
27
28
-
Note that the official implementation might give slightly different scores, as it uses pretrained weights from the Tensorflow Inception, not the PyTorch Inception used here.
28
+
Note that the official implementation might give slightly different scores, as it uses pretrained weights from Tensorflow 's Inception, not PyTorch's Inception as used here.
29
29
30
30
### Using different layers for feature maps
31
31
@@ -49,5 +49,5 @@ This implementation is licensed under the Apache License 2.0.
49
49
50
50
FID was introduced by Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler and Sepp Hochreiter in "GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium", see [https://arxiv.org/abs/1706.08500](https://arxiv.org/abs/1706.08500)
51
51
52
-
The original implementation is taken from the Institute of Bioinformatics, JKU Linz, licensed under the Apache License 2.0.
53
-
See [https://github.com/bioinf-jku/TTUR](https://github.com/bioinf-jku/TTUR).
52
+
The original implementation is by the Institute of Bioinformatics, JKU Linz, licensed under the Apache License 2.0.
53
+
See [https://github.com/bioinf-jku/TTUR](https://github.com/bioinf-jku/TTUR).
0 commit comments