troubleshooting

This commit is contained in:
Sefik Ilkin Serengil 2020-12-18 12:11:40 +03:00 committed by GitHub
parent 904bf14e07
commit 8980931726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,6 +181,16 @@ for action in actions:
DeepFace.analyze("img1.jpg", models=models)
```
## Troubleshooting
Pre-trained weights of custom models will be downloaded from Google Drive source to your environment once. Download limit of my Google Drive account might be exceeded sometimes. In this case, you might have an exception like "Too many users have viewed or downloaded this file recently. Please try accessing the file again later". You can still download the pre-trained weights from Google Drive manually. You should then download the pre-trained weights to {HOME_FOLDER}/.deepface/weights folder. It won't try to download the weight file if it exists in the weights folder. You can find out your HOME_FOLDER as shown below.
```python
from pathlib import Path
home = str(Path.home())
print("HOME_FOLDER is ",home)
```
## Support
There are many ways to support a project - starring⭐ the GitHub repos is just one.