deepinsight / deepinsight/insightface
AttributeError: 'NoneType' object has no attribute 'prepare'
Open
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I got an error in insightface package of retinaFace.
```
import insightface
model = insightface.model_zoo.get_model('retinaface_r50_v1')
model.prepare(ctx_id=-1, nms=0.4)
```
error:
AttributeError: 'NoneType' object has no attribute 'prepare'
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the provided Python snippet and inspect the insightface.model_zoo.get_model entry point to determine why it returns None for retinaface_r50_v1. Trace the model lookup and loading path, then verify that the call returns a usable model whose prepare method runs without this AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100