Giter Site home page Giter Site logo

kvsnoufal / gauganpytorch Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 15.2 MB

Paper To Code implementation of NVIDIA's GauGan on a custom Landscape 's Dataset. Generating photorealistic-ish:p images from drawings

Dockerfile 0.01% Python 0.93% Jupyter Notebook 99.05%

gauganpytorch's Introduction

GauGan: Generating Photorealistic Images from Drawings

Paper To Code implementation of NVIDIA's GauGan on a custom Landscape 's Dataset. Generating photorealistic-ish:p images from drawings

Origina Paper Semantic Image Synthesis with Spatially-Adaptive Normalization

Gaugan uses a special normalization technique for improving the quality of the data. The generator is capable of taking as input a semantic map (a drawing) and generating a photorealistic image as the output. Further it is also capable of multimodal image synthesis - which means, it can generate images in various different styles. So for the same drawing, it can generate multiple images.

In my implementation, I downloaded a dataset of landscape images from kaggle and used a pretrained semantic segmentation model (deeplab v2) to generate semantic maps of the image. This is how I compiled the dataset.

Results:

1.gif 2.png 3.png 4.png 5.png

Shoulders of Giants:

  1. Semantic Image Synthesis with Spatially-Adaptive Normalization (https://arxiv.org/abs/1903.07291)
  2. Official Github Implementation : https://github.com/NVlabs/SPADE
  3. Implementation in Keras : https://keras.io/examples/generative/gaugan/
  4. Flickr Landscape Dataset: https://www.kaggle.com/datasets/arnaud58/landscape-pictures
  5. DeepLab model for semantic segmentation: https://github.com/kazuto1011/deeplab-pytorch

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.