Comments (3)
Hi!
First of all, thank you for your interest for our work!
FID, unlike likelihood (in this kind of generative models we stick mostly to bpd), can be a very ambiguous score, a little twist to the data, number of comparing data and the inception model itself can alter the final score. In out case, our score came from the process that it is described in the paper; 50k generated images and 50k real images from the train set, saved with the torchvision
's save_image
function (this also matters). We verified the scores with the inception weights of tensorflow's and pytorch's (copied from tf) version.
from srvae.
Thanks for the explanation!
I try save_image
by adding the following lines
for i in range(n_samples):
save_image(x[i], save_path%i)
at
Line 27 in dfee765
Then generate 50k images (in png) and evaluate with the tensorflows version here https://github.com/bioinf-jku/TTUR with their released precalculated statistics of cifar10's training set. And it gives FID: 58.67528283730496
. The pytorch version gives 58.38
with the same input. But the FID score on training set in the paper (table1, row1, score in the brackets) is 37.25.
Do you idea of which step I am doing wrong? Or it would be really appreciated if you could share the snippets you used to generate the images to help me debug with the code!
from srvae.
In our version, we also saved the CIFAR images with torch to a folder and did folder comparison.
I don't believe that you have any bug on your code
from srvae.
Related Issues (9)
- Scale factor has NaN entries when training my own dataset HOT 2
- train with multiple gpus HOT 4
- where is model.module.initialize(train_loader)? HOT 2
- how to execute the code use one GPU? HOT 2
- There are some discrepancies between your paper and code.
- Training larger images HOT 1
- Which GPU used in training and how long it took?
- Ground truth in forward pass?
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 srvae.