Follow these exact steps to reproduce the core results of the FaceID system from a clean clone.
# Clone the repository
git clone <repo_url>
cd FaceID
# Create and activate virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
pip install tf-keras# Run a single pair verification (Same)
python scripts/inference.py --img1 reports/roc_curve.png --img2 reports/roc_curve.png
# Run a single pair verification (Different)
python scripts/inference.py --img1 reports/roc_curve.png --img2 reports/false_positives_examples.png# Run the hardware-aware profiling script
python scripts/profiling.py --iterations 10
# Check output in reports/profiling_summary.txt# Note: Evaluation requires the full LFW dataset to be ingested.
# Run evaluation with the frozen threshold (requires data/lfw)
python scripts/run_evaluation.py --config configs/eval_ms4_final.yaml
# Results will be in outputs/eval/# Build the image
docker build -t faceid-final .
# Run inference in container
docker run --rm -v ${PWD}/reports:/app/reports faceid-final --img1 reports/roc_curve.png --img2 reports/false_positives_examples.png- System Card:
reports/System_Card.md - Profiling Report:
reports/Profiling_Report.md - Final Config:
configs/eval_ms4_final.yaml - Release Tag:
v1.0-final