Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot import name 'PNet' from 'mtcnn' #2

Open
Huxwell opened this issue Nov 20, 2020 · 1 comment
Open

Cannot import name 'PNet' from 'mtcnn' #2

Huxwell opened this issue Nov 20, 2020 · 1 comment

Comments

@Huxwell
Copy link

Huxwell commented Nov 20, 2020

When I run python tf_gen_12net_hard_example.py, mtcnn dependency you don't mention in readme is missing.
I tried my luck with "pip install mtcnn" and it works, but then I will get:

ImportError: cannot import name 'PNet' from 'mtcnn' .
Is there any particular version of this library that your code expects or is there any particular repository that should be used instead?

@v1zh3d
Copy link
Owner

v1zh3d commented Jul 31, 2021

It's been 2 years since I have done this project, and yeah, that time, I guess the MTCNN version was 0.9.0, so you can try that version.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants