Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saritaphd/face-dissimilarity-detection-using-siamese-network
This project utilizes a Siamese Network to measure the dissimilarity between faces in an image dataset.
https://github.com/saritaphd/face-dissimilarity-detection-using-siamese-network
Last synced: 3 days ago
JSON representation
This project utilizes a Siamese Network to measure the dissimilarity between faces in an image dataset.
- Host: GitHub
- URL: https://github.com/saritaphd/face-dissimilarity-detection-using-siamese-network
- Owner: SaritaPhD
- License: mit
- Created: 2024-10-21T05:27:33.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-11-14T21:09:44.000Z (5 days ago)
- Last Synced: 2024-11-14T22:19:40.011Z (5 days ago)
- Language: Jupyter Notebook
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Face Dissimilarity Detection using Siamese Network
This project implements a Siamese neural network to detect dissimilarity between two face images using PyTorch and Streamlit for easy user interaction. The model is trained to differentiate between faces of different individuals.
## Project Structure
- `src/dataset.py`: Dataset class for loading and transforming image data.
- `src/network.py`: Defines the Siamese neural network and contrastive loss function.
- `src/train.py`: Script for training the model.
- `src/test.py`: Script for testing the model.
- `src/utils.py`: Helper functions for visualization.
- `app.py`: Streamlit app for making predictions.## How to Run
1. Install the dependencies:
```bash
pip install -r requirements.txt2. Run the Streamlit app:
```bashstreamlit run app.py
jbdoqbwdq0i