deepinsight / deepinsight/insightface

AssertionError:assert 'detection' in self.models

Open
#1,525 34 comments 7 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

I want to extract 512-D Feature Embedding. I download the pretrained model and run the /insightface/deploy/test.py, but
![image](https://user-images.githubusercontent.com/44988023/118638371-5b3ef080-b809-11eb-8752-71dda50d4c38.png)
what should I do?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with deploy/test.py and the downloaded pretrained model setup, then inspect why the assertion expects 'detection' in self.models. Reproduce the reported failure and trace the model-loading inputs. Done means the script runs without the assertion and extracts the requested 512-D feature embedding.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.