Coder Social home page Coder Social logo

skaftenicki / cpab_da Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 50.88 MB

Implementation that utilitze CPAB transformations for learning a facial data augmentation model. The model is then used to generate synthetic facial images that is used to improve performance of a neural network trained to do facial verification.

Python 100.00%

cpab_da's Introduction

The scripts should be run in the following order:
* generate_theta.py -> 	generates two folder "gen_theta" and "gen_theta_info" with .pkl files 
			contraining the estimated transformation parametrizations and info about which images they were estimated from

* fit_clusters.py -> 	will fit varGMM to the generated theta values. This scrip will generate a folder "cluster_data" which will contain
			.pkl files with the estimated cluster parameters (both processed and non-processed)

* generate_trans.py ->	will from the estimated cluster parameters generate a file called "transformations.pkl" that contains a number of
			presampled transformations

* train_network.py ->	will preform the actually training of the neural network using all the results from the previous scripts

for information about the different settings for each script, write python "script name" -h for help.

The script utils.py contains all utility functions used for the scrips. In particular this contains the
function set_params() which should be edited in the beginning for controlling a lot of the initial parameters
for doing the image alignment. The function generates a file "params.pkl" which needs to be deleted to run
with new settings.

cpab_da's People

Contributors

nickiskafte 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.