Giter Site home page Giter Site logo

pixelda_gan's Introduction

Unsupervised Domain Adaptation with GAN

CS698U (Visual Recognition)

Folder Structure

Basic folder structure

├── pixelda_gan_classifier.py # PIXELDA GAN (as per the paper)
├── pixelda_lsgan_classifier.py # Same architecture as of PIXELDA GAN with modified loss function similar to LS-GAN
├── dcgan_classifier.py # DCGAN architecture
├── run_classifier.py # Resume training or test a classifer
├── params.py # Model parameters
├── dataset.py # create dataloaders
├── plotter.py # generate plots parallelly
├── utils.py # utils
├── dataloader # custom dataloaders
│   ├── mnistm_loader.py
|   └── usps_loader.py
├── classifiers # Classifiers' architecture
│   ├── mnist_classifier.py # Shared layered classifier (as per the paper)
|   └── *.py # Other classifiers
├── GANs # GAN architecture
│   ├── dcgan.py # DC-GAN architecture
|   └── pixelda_gan.py # PIXELDA-GAN architecture
├── data (not included in the repo)
│   ├── mnist # mnist data (not included in the repo); subdirectories will be created by pytorch (using torchvision.datasets)
│   |   ├── processed
│           ├── test.pt
│           └── training.pt
│   |   └── raw
│           ├── t10k-images-idx3-ubyte
│           ├── t10k-labels-idx1-ubyte
│           ├── train-images-idx3-ubyte
│           └── train-labels-idx1-ubyte
│   ├── mnist_m # MNIST-M dataset (not included in the repo)
        (Download: https://drive.google.com/drive/folders/0B_tExHiYS-0vR2dNZEU4NGlSSW8)
│   |   ├── mnist_m_test
│           └── *.png
│   |   ├── mnist_m_train
│           └── *.png
│       ├── mnist_m_test_labels.txt
│       ├── mnist_m_train_labels.txt
│   └── usps # USPS dataset (not included in the repo)
        (Download: https://github.com/marionmari/Graph_stuff/tree/master/usps_digit_data)
│       ├── usps_resampled.mat
│       └── usps_split.pkl # created by code
├── checkpoint # model files to be saved here (not included in the repo)
├── images # generated images to be saved here (not included in the repo)
└── plots # generated plots to be saved here (not included in the repo)

Requirements

  • PyTorch (from source)
  • cuda 8.0
  • NVIDIA GTX
  • Python 3.6.2
  • matplotlib
  • numpy
  • multiprocessing

pixelda_gan's People

Contributors

iankur avatar vaibhavnaagar 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.