Code Monkey home page Code Monkey logo

cse676_dl_project_side_view_face_recognition's Introduction

CSE 676 Deep Learning Project

Side View Face Recognition using various Deep Learning techniques

Project for CSE 676 Deep Learning (Spring 2023)

Contributions:

Jason DCosta | 50468245 | [email protected]

Dhvani Mitesh Kothari | 50485387 | [email protected]

Structure:

├── cycleGAN/

├── pix2pix/

├── utils/

├── README.md

├── requirements.yml

└── .gitignore

The project is comprised of 2 main DL techniques: pix2pix and cycleGAN, the code is in their respective folders.

utils has some driver code we used for manipulation of data. This code may not run as is, since the paths for data manipulation have changed during development.

Our pix2pix implementation was based on a tensorflow tutorial.

Our cycleGAN implementation was based on this pytorch implementation.

Installation:

pix2pix

This was run in a Google Colab notebook with GPU acceleration. Any libraries used are in the code itself.

cycleGAN

This was run on a PC running Windows 10 with a Nvidia RTX 3060 GPU. We use conda for managing libraries.

conda env create -f requirements.yml

The file 'cycleGAN\face_recog.ipynb' was run in a Google Colab notebook. Any software installed is part of the code itself.

Usage:

pix2pix

First upload the 'pix2pix\faces.zip' file to the Colab session storage and then run the notebook.

cycleGAN

To train the model, run the following:

python train.py --dataroot faces --name faces --model cycle_gan --n_epochs 12 --n_epochs_decay 12

To test the model, run the following:

python test.py --dataroot faces --name faces --model cycle_gan --num_test 100

To test face recognition, upload the files 'input_dir.zip' and 'output_dir.zip' to the Colab session storage and then run the notebook 'cycleGAN\face_recog.ipynb'

cse676_dl_project_side_view_face_recognition's People

Contributors

jsndc99 avatar

Stargazers

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