Skip to content

Image Impainting using GAN with deformable convolutional filter via PyTorch

Notifications You must be signed in to change notification settings

trailingend/pytorch-deformable-image-inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Inpainting Demo

Web Framework - Jayleen Zhou

Inpainting Algorithm - Lynn Duan, Lei Pan, Jingwen Zhang


sitemap inside the working folder

├── README.md
├── app.py
├── server/
    ├── torch_deform_conv/
    ├── predict.py
    ├── <model_file>
    ├── models.py
    ├── layers.py
    └── utils.html
└── static/
    ├── dist/
    ├── script/
        ├── index.jsx
        └── main.jsx
    ├── style/
        └── main.css
    └── index.html

How to run this demo locally

  • in the project root folder, run python app.py in Terminal
  • url: localhost:5000

How to test front-end framework

  • change directory into the static folder, run npm install and then npm run dev in Terminal
  • url: localhost:8080
  • remember to clear browser cache

How to compile front-end

  • change directory into the static folder, run npm run build in Terminal

Approaches

  • Front-end: using ReactJS to render the front-end buttons, jQuery to handle AJAX communications
  • Back-end: using Python in Flask framework to serve as the back-end server.

Acknowledgement

About

Image Impainting using GAN with deformable convolutional filter via PyTorch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published