From a1cd025f81ce21c0fbd1d3c75c46761cf60684db Mon Sep 17 00:00:00 2001 From: henryruhs Date: Wed, 5 Feb 2025 19:02:58 +0100 Subject: [PATCH] Mixed bag of cleanups --- arcface_converter/src/preparing.py | 1 + face_swapper/README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arcface_converter/src/preparing.py b/arcface_converter/src/preparing.py index 6722f74..36a88a7 100644 --- a/arcface_converter/src/preparing.py +++ b/arcface_converter/src/preparing.py @@ -4,6 +4,7 @@ from os.path import isfile from typing import List import numpy + numpy.bool = numpy.bool_ from mxnet.io import ImageRecordIter from onnxruntime import InferenceSession diff --git a/face_swapper/README.md b/face_swapper/README.md index 3125040..77250be 100644 --- a/face_swapper/README.md +++ b/face_swapper/README.md @@ -14,10 +14,10 @@ pip install -r requirements.txt ``` -Example -------- +Setup +----- -This example utilizes the MegaFace dataset to train the Face Swapper model. +This `config.ini` utilizes the MegaFace dataset to train the Face Swapper model. ``` [preparing.dataset]