Code Monkey home page Code Monkey logo

couplegenerator's Introduction

CoupleGenerator

Update on 20200108

I'm surprised so many people are interested in this toy project.

I saw some friends on Weibo who said that the training results were not good.

Here are the results of the training set after 8800 steps. image

The model can fit the training images in a short time.

This ckpt may be useful, but I am not sure. https://cloudstor.aarnet.edu.au/plus/s/YHDWgez1g3RFc6o

Environments

I guess the environment should be tensorflow==1.1...

You also need to download the pretrain weight for vgg through following links:

https://github.com/machrisaa/tensorflow-vgg

Quick start

Download the training images and unzip it: https://cloudstor.aarnet.edu.au/plus/s/VWZJaWfbla3kFch

Run bash autotest.sh

Original version

Generate your lover with your photo

This project is an old project from two years ago.

We collect pictures of married couples on the Internet and pre-process the images.

The model was trained by using the code of pix2pix.

An example of training images:

image

You can make photos of yourself with the person you loved as a training pair~

This repo is just for entertainment.

If you have any interests, please feel free to use the code and the dataset.

PS

I am not very familiar with tensorflow...

I have abandoned tf and started using pytorch.

This project is a toy project, and I am working on semantic segmentation, instance segmentation on 2D images and videos for my Ph.D. career. If you are interested in these topics, you can follow my github. I will release a new code on video segmentation recently.

Extension

I collect the marriage images on BaiDu image by using a spider. Here is a very old and simple code for collecting images: https://blog.csdn.net/qq_27879381/article/details/65015280#comments

Just change the keyword.

If you really want to train an effective model, you can collect more images.

AD

CVPR2019๏ผš https://github.com/irfanICMLL/structure_knowledge_distillation

couplegenerator's People

Contributors

irfanicmll avatar

Watchers

 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.