Skip to content
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

Add ability to pass additional args to FaceAnalysis constructor such as 'root' #1453

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

provinceperformer
Copy link

@provinceperformer provinceperformer commented Apr 4, 2021

Add ability to pass additional args such as root to FaceAnalysis constructor, so they do not have to put the model files in their home directory

Example:

model = insightface.app.FaceAnalysis(root='./models')
ctx_id = -1
model.prepare(ctx_id=ctx_id, nms=0.4)

@provinceperformer provinceperformer changed the title Add ability to pass additional args such as 'root' to FaceAnalysis constructor Add ability to pass additional args to FaceAnalysis constructor such as 'root' Apr 4, 2021
@anxiangsir anxiangsir force-pushed the master branch 2 times, most recently from 3ac9afa to 8999b4a Compare May 14, 2021 12:00
@anxiangsir anxiangsir force-pushed the master branch 2 times, most recently from 5f1c233 to e1300d3 Compare June 23, 2021 05:55
@anxiangsir anxiangsir force-pushed the master branch 6 times, most recently from c982e3c to 9ff1f80 Compare March 30, 2022 11:03
@anxiangsir anxiangsir force-pushed the master branch 5 times, most recently from 93e2886 to d9cb10e Compare April 22, 2022 10:24
@anxiangsir anxiangsir force-pushed the master branch 3 times, most recently from 44bfb51 to 92c6bd9 Compare May 2, 2022 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant