Coder Social home page Coder Social logo

gcn_implementation's Introduction

Generative cooperative Net

An implementation of the paper entitled "Generative Cooperative Net for Image Generation and Data Augmentation" by Qiangeng Xu et al, as a part of the final project for the course Deep Learning at the spring semester of 2021, University of Tehran.

DataSet

In this project we've use two different datasets:

Goals

This projects goal is to build a neural network to

  • Generat images of faces (for KDEF dataset)
  • Generat images of hadwritten number (for QMNIST dataset)
  • Create a new augmentation tool: After training the GCN network and combining the identity features of two people with a ratio of 0.5, new images can be produced

Training

With respect to different goals of hour network we train it on two different datasets as mentioned above. The input of networ for these datasets is different.

Input of Network for KDEF dataset

  • a one-hot encoded vector for identity of the image (with length of 70)
  • a one-hot encoded vector for face expression of the image (with length of 4)
  • a one-hot encoded vector for transformation of the number (with length of 8)
  • an image with size of 28*28

Input of Network for KDEF dataset

  • a one-hot encoded vector for number of the image (with length of 10)
  • a one-hot encoded vector for color the number (with length of 3 for R, G and B)
  • a one-hot encoded vector for transformation of the image (with length of 8)
  • an image with size of 158*158

Model

Our proposed model has two modules:

  • Generator: generate image with an MSE loss
  • Classifier: classifies the generated image of generator. In this structure, the generator and the classifier have goals in the same direction and they are trying to increase the quality of the produced images by working together. The Architecture of model is shown below
    GCN architecture

Results

Here we have the results for our metioned tasks. right column of each image is model output.

  • Generating images of faces (for KDEF dataset)
    faces output

  • Generating images of handwritten numbers (for QMNIST dataset)
    numbers output

  • Create a new augmentation tool
    augmentations output

Team Members

gcn_implementation's People

Contributors

amirhosein-mesbah avatar feryet avatar

Watchers

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