Code Monkey home page Code Monkey logo

age's People

Contributors

dmitryulyanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

age's Issues

Inception Score on CelebA

Hi,

Just for curiosity, I wonder if I get the right pipeline to check the inception score on CelebA dataset as you presented in the paper.

Should I use the Inception model that is pretrained on ImageNet or trained on CelebA from scratch by myself?

Thanks in advance :)

is KLD calculation correct?

AGE/src/losses.py

Lines 38 to 41 in 0915760

t1 = (samples_var.pow(2) + samples_mean.pow(2)) / 2
t2 = -samples_var.log()
KL = (t1 + t2 - 0.5).mean()

KLD appears to use variance in place of standard deviation. utils.var() computes variance as squared distance from mean. Then it's squared again in the KLN01Loss module. Should it be (in the default 'qp' direction):

t1 = samples_var + samples_mean.pow(2)
t2 = -samples_var.log()

KL = (t1 + t2 - 1).mean()/2

?

(Additionally, the paper gives the KLD as a sum but here it's a mean, changing the meaning of the hyperparameters weighting the reconstruction losses)

batch size and nz

I was not able to get the CIFAR10 example to run with the defaults, since the expand_as call expects the expanding dimension to be greater or equal to the first dimension (and the defaults have the batch size as 64 and nz as 128). If I set the batch size and the nz sizes the same, it seems to work fine.

Values for the Normalization step

Hi Dmitry,

I have one question. Why using ((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)) for the Normalize in the SVHN?

That values are the ones you want your input to be modified so the fit into that distribution? Or you need to imput your actual mean and standard deviation of each channel to get normilized?

Also, why sometimes there are other configuration of values?
I don't understand why still with those parameters I have negative values in the images.

Thanks a lot in advance.

Pablo

wrong reconstructions

why some of my reconstructions are just blank images? Using a grayscale dataset with default parameters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.