mirror of
https://github.com/serengil/deepface.git
synced 2025-06-09 21:07:09 +00:00
troubleshooting
This commit is contained in:
parent
904bf14e07
commit
8980931726
10
README.md
10
README.md
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user