mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
Merge pull request #1129 from starenka/patch-1
This commit is contained in:
commit
d7202cf70a
@ -85,7 +85,7 @@ def load_model():
|
|||||||
output = home + "/.deepface/weights/ghostfacenet_v1.h5"
|
output = home + "/.deepface/weights/ghostfacenet_v1.h5"
|
||||||
|
|
||||||
if os.path.isfile(output) is not True:
|
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)
|
gdown.download(PRETRAINED_WEIGHTS, output, quiet=False)
|
||||||
logger.info(f"Pre-trained weights is just downloaded to {output}")
|
logger.info(f"Pre-trained weights is just downloaded to {output}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user