deepinsight / deepinsight/insightface
'NoneType' object has no attribute 'prepare' when running on a virtualenv
Open
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
I installed insightface on a virtual environment for python (virtualenv) but when I try to get the model I get this
>>> model = insightface.model_zoo.get_model('retinaface_r50_v1')
>>> model.prepare(ctx_id = 0, nms=0.4)
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'NoneType' object has no attribute 'prepare'
If I try to do the same ouside an environment, just run the basic model, works just fine.
Anyone knows how to make it work inside a virtual environment?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.