mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
bug 284
This commit is contained in:
parent
583ab53324
commit
74704452a3
@ -14,7 +14,7 @@ def loadModel(url = 'https://github.com/serengil/deepface_models/releases/downlo
|
|||||||
if os.path.isfile(home+'/.deepface/weights/facenet512_weights.h5') != True:
|
if os.path.isfile(home+'/.deepface/weights/facenet512_weights.h5') != True:
|
||||||
print("facenet512_weights.h5 will be downloaded...")
|
print("facenet512_weights.h5 will be downloaded...")
|
||||||
|
|
||||||
output = home+'/.deepface/weights/facenet_weights.h5'
|
output = home+'/.deepface/weights/facenet512_weights.h5'
|
||||||
gdown.download(url, output, quiet=False)
|
gdown.download(url, output, quiet=False)
|
||||||
|
|
||||||
#-------------------------
|
#-------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user