Giter Site home page Giter Site logo

face-segment's Introduction

Img This is the implementation of ‘Scaled Neural Style Transfer for Bounded Face Regions’

I) To create a regular Neural Style Image Transfer:

  1. Run the following command with these arguments provided: usage: nst_baseline.py [-h] [--height H] [--width W] [--input I] [--style S] [--num_iter N]

Neural Style Transfer

optional arguments: -h, --help show this help message and exit --height H image height --width W image width --input I input content image --style S style image --num_iter N number of iterations to run the style transfer II) To create a masked face style transfer:

  1. Generate a mask file for the face image by running the following: usage: face_detection.py [-h] [--fname F]

Face Detection

optional arguments: -h, --help show this help message and exit --fname F image to be masked,output stored at name_mask.jpg

  1. Run the Neural Style Transfer giving the mask file as input mask_img: usage: neural_style_transfer.py [-h] [--height H] [--width W] [--factor FC] [--mask_img M] [--input I] [--style S] [--num_iter N]

PyTorch Gentle Neural Style Transfer for Faces

optional arguments: -h, --help show this help message and exit --height H image height --width W image width --factor FC factor of making style less pronounced on mask --mask_img M mask image --input I input content image --style S style image --num_iter N number of iterations to run the style transfer

Contact: [email protected], [email protected]

face-segment

face-segment's People

Contributors

nipandha avatar

Watchers

 avatar  avatar

Forkers

nvpandha

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.