-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError: model_file should exist #1912
Comments
am trying this code so after i try the detector with the path it just redownload the antelope which is already exist in my file and i don't see the different, as the code by default detect the faces so i commented and tried to call the recognition model with the same path but i get again same issue |
any idea? |
Try to use the full absolute path. |
Fix AssertionError ( model_file should exist ) deepinsight#1912
i have downloaded antelope which is the pretrain model right?
i get this issue whenever trying to call the detection or recognition model in the quick example
Traceback (most recent call last):
File "D:/insightface/python-package/main.py", line 8, in
detector = insightface.model_zoo.get_model('glintr100.onnx')
File "D:\insightface\python-package\insightface\model_zoo\model_zoo.py", line 80, in get_model
assert osp.exists(model_file), 'model_file should exist'
AssertionError: model_file should exist
so am wondering what is the correct way of setting this model?
The text was updated successfully, but these errors were encountered: