Skip to content

swyh/DiscoGAN-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscoGAN_webservice

Prerequisites

DiscoGAN

  • Python3
  • PyTorch
  • Numpy/Scipy
  • OpenCV
  • Cuda 9.0 (현재 저장된 model은 cuda을 이용함)

Server

  • Apache
  • PHP

Execution

  • Website

    • index.html : image를 upload하면 server에 저장하고 upload.php 실행
    • upload.php : load_image.py를 실행시켜 DiscoGAN으로 image 변환 후 저장 및 출력
  • Python

      $ python load_image.py [input_file path] [result_folder path] [dataset kind(A or B)]
    

Reference

Official paper : https://arxiv.org/pdf/1703.05192.pdf
Official implement : https://github.com/SKTBrain/DiscoGAN

About

It load GAN Model and offer webservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published