insightface icon indicating copy to clipboard operation
insightface copied to clipboard

AttributeError: module 'insightface' has no attribute 'app'

Open AlisonYao opened this issue 2 years ago • 1 comments

I am getting the following error:

model = insightface.app.FaceAnalysis(root='./', allowed_modules=allowed_modules, providers=['CUDAExecutionProvider']) AttributeError: module 'insightface' has no attribute 'app'

I can import insightface but not run "from insightface.app import FaceAnalysis". Any idea how to fix it? Thank you!

AlisonYao avatar Apr 23 '23 04:04 AlisonYao

Have you installed the latest version?

nttstar avatar May 10 '23 12:05 nttstar