10000 GitHub - prudhvirajboddu/DL_proj: Face Detection using PyTorch
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

prudhvirajboddu/DL_proj

Repository files navigation

Detection of Face Features using Adapted triplet loss

We worked on detecting and recognising the face features using custom collected dataset. We have used PyTorch as deep learning Framework and have used ResNet weights to finetune the model with five classes in our dataset.

Live inference can be found at huggingface

Running the project

We have used python 3.11 Version to run this game on and latest pytorch environment

First run this command in a virtual environment to install the dependencies

  pip install -r requirements.txt

After setting up the environment, Run

  python train.py

This will start training the model and save it to outputs directory.

Once the model is trained, you can do the inference or deploy it to the gradio app. I have written code for deploying it through gradio and inference the model with input. After training the model run

  python webapp.py
0