Merge pull request #1129 from starenka/patch-1

This commit is contained in:
Sefik Ilkin Serengil 2024-03-20 18:10:34 +00:00 committed by GitHub
commit d7202cf70a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ def load_model():
output = home + "/.deepface/weights/ghostfacenet_v1.h5"
if os.path.isfile(output) is not True:
logger.info("Pre-trained weights is downloaded from {PRETRAINED_WEIGHTS} to {output}")
logger.info(f"Pre-trained weights is downloaded from {PRETRAINED_WEIGHTS} to {output}")
gdown.download(PRETRAINED_WEIGHTS, output, quiet=False)
logger.info(f"Pre-trained weights is just downloaded to {output}")