Skip to content

dhvani-k/CSE676_DL_Project_Side_View_Face_Recognition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 | jasondco@bufflo.edu

Dhvani Mitesh Kothari | 50485387 | dhvanimi@buffalo.edu

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'

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.4%
  • Other 0.6%