diff --git a/README.md b/README.md index 8ed04d1..721aee2 100644 --- a/README.md +++ b/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.