Giter VIP home page Giter VIP logo

image_inpainting's Introduction

Image In-painting with irregular holes

[Un-Official] implementation of the paper "Image In-painting with irregular holes" by Nvidia [https://arxiv.org/abs/1804.07723]

This project was a part of my bigger project regarding medical image analysis

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Here is a list of some very specific dependencies

Pytorch
visdom (I use it to log loss values during training)

Data Loader

You should place all the files inside the data folder arranged with following naming format.


Input Images:  XXXXX_input.png
Mask: 1) XXXXXX_segmentation.png
      2) XXXXXX_mask.png
Target: XXXXXX_target.png

Data-augmentation

  1. The data loader randomly generates a mask to augment the data during training.
  2. I used segmentation image to mask the input image to help model learn the features from the skin region.
  3. Furthermore, we used flipping and random crops to further augment the data during training

Training

CUDA_VISIBLE_DEVICES=1,2,3 python Train_Gen.py --bs=25 --ms=123 --glr=2e-4  --ep=1000 --n=hair_removal

Results

batch_1_inputs batch_1_outputs1 batch_15_inputs batch_15_outputs1

TO-DO

Run the training for Celebrity dataset to compare results with the paper

image_inpainting's People

Contributors

devansh20la avatar

Stargazers

Clint avatar

Watchers

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