Giter VIP home page Giter VIP logo

inception-score's Introduction

Inception-Score

  • Inception score script for measuring quality of images generating from GAN

Method

  • This repo derived from paper named Improved Techniques for Training GANs, In this paper, we can see more tricks and improved methods used for training GAN. Anyway, sometimes, they are helpful.

  • Inception score is used to measure the quality of images generating from GAN model. It is considered as a good way to measure performance of GAN in quantity.

Requirements

  • tensorflow 1.3.0

  • python 2.7.12

  • numpy 1.13.1

  • scipy 0.17.0

Usages

download repo

$ git clone https://github.com/nnuyi/Inception-Score.git
$ cd Inception-Score

load data

  • In this repo, I provide 30 images sampled from cifar10. All the images are stored in the data directory(named data).

  • If you want to use your own data, images should be stored in data directory. And then launch the code.

launch repo

$ python inception_score.py

Results

  • In this repo, you can easily get the result below:

    cifar10 images cifar10 images
    Alt test Alt test
    inception score:
    mean:2.1532264
    stddev:0.27045175
    inception score:
    mean:2.1532264
    stddev:0.27045175

References

Contacts

inception-score's People

Contributors

nnuyi 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

Watchers

 avatar  avatar  avatar  avatar

inception-score's Issues

[SUGGESTION] A gist would have been more appropriate

Hello! This is a great utility that you have provided for calculating the inception scores for validation. Just a small suggestion -> since the code is so small, people (including me) would be just copy and pasting from here. This being a gist would have been more apt instead of being a repository.

ValueError: Cannot feed value of shape (30, 32, 32, 3) for Tensor 'ExpandDims:0', which has shape '(1, ?, ?, 3)'

同学,我用的python3 ,用你数据集。会报错,谷歌找不合适的解决办法。不知道你有没有好的解决办法?谢谢
PS:IS程序改了两处处,你上传的没有改 https://github.com/openai/improved-gan/blob/0b7ed92e47ff7047701be3e10a3bd6363999f5e7/inception_score/model.py#L92

https://github.com/openai/improved-gan/blob/0b7ed92e47ff7047701be3e10a3bd6363999f5e7/inception_score/model.py#L90

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.