deepinsight / deepinsight/insightface
AttributeError: 'NoneType' object has no attribute 'forward'
Open
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
I have commented the gender & age section in test.py. Getting following error in get_feature. How do i resolve this error
File "deploy/test.py", line 21, in
f1 = model.get_feature(img)
File "/home//Documents//insightface/deploy/face_model.py", line 90, in get_feature
self.model.forward(db, is_train=False)
AttributeError: 'NoneType' object has no attribute 'forward'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.