Skip to content

Commit

Permalink
Fix bug while download weights
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanuega committed Jun 23, 2020
1 parent 072cbd8 commit fcd0d2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def load_FbDeepFace():

if os.path.isfile(model_path) != True:
print("DeepFace weights by will be downloaded ")
os.makedirs(home + '/.deepface/weights')

url = 'https://github.com/swghosh/DeepFace/releases/download/weights-vggface2-2d-aligned/VGGFace2_DeepFace_weights_val-0.9034.h5.zip'

Expand Down

0 comments on commit fcd0d2a

Please sign in to comment.