Giter VIP home page Giter VIP logo

pbgan's Introduction

PBGAN

codes of 4 or 6 layers PBGAN with applications

example: python main.py --dataset=celeba --input_height=108 --output_height=64 --train --crop --structure=0 --option=5

--dataset: svhn celeba cifar10 Imagenet1 --train: to train a new model or read checkpoint to do visualization --structure ==0 #for original,(default) ==1 #for binarized with batch norm, ==2 #for binarized without batch norm, ==3 #for XNOR with batch norm,(not available for 6 layers) ==4 #for XNOR without batch norm(not available for 6 layers)

--option: == 5 #generating sample outputs(default) == 6 #svhn feature maps, train,split into several files, each contains 10000 vectors == 7 #svhn test feature maps, test ,split into several files, each contains 10000 vectors == 8 #cifar10 feature maps, train, split into 5 files == 9 #cifar10 feature maps, test, split into 5 files == 10 #cifar10 feature maps visualizations,"horse picture"

note: when using celeba or other dataset with picture size not 32x32, use --input_height=xxx and output_height=64 and --crop as the example if using dataset with 32x32 picture, like svhn, cifar10 Imagenet1 simply run: python main.py --dataset=cifar10 --train --structure=0 --option=5

both read *.jpg data from ./../data/xxx for example,run: ~/PBGAN/4layers/python main.py --dataset=cifar10 --train --structure=0 --option=5 it reads all the *.jpg images from ~/PBGAN/data/cifar10/

pbgan's People

Contributors

manymuch avatar

Watchers

 avatar

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.