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

module 'flowvision.models' has no attribute 'face_recognition' #198

Closed
PhilippShemetov opened this issue Apr 3, 2022 · 4 comments
Closed
Labels

Comments

@PhilippShemetov
Copy link

Hello, I need method for create model iresnet. I saw in documentation that flowvision has model iresnet, but when I import and use resnest50 = flowvision.models.face_recognition.iresnest50(pretrained=False, progress=True), python says module 'flowvision.models' has no attribute 'face_recognition'. What can be problem?

@rentainhe
Copy link
Contributor

Sorry, we misnamed the interface here, Please use

import flowvision

resnest50 = flowvision.models.face_recognition.iresnet50(pretrained=False, progress=True)

to get the right model, we will fix this error later~

@rentainhe
Copy link
Contributor

Hello, I need method for create model iresnet. I saw in documentation that flowvision has model iresnet, but when I import and use resnest50 = flowvision.models.face_recognition.iresnest50(pretrained=False, progress=True), python says module 'flowvision.models' has no attribute 'face_recognition'. What can be problem?

It's not face_recognition.iresnest50 here, it should be face_recognition.iresnet50

@rentainhe
Copy link
Contributor

IResNet model is part of the build plan of flowvision version 0.2.0, but we only release the version 0.1.0 now, if there are still some import error, you can try to use an editable installation of flowvision as follows:

cd flowvision
pip install -e .

Then you can enjoy all the models which are already supported in flowvision.

@rentainhe rentainhe added good first issue Good for newcomers Bug Fixes labels Apr 3, 2022
@rentainhe
Copy link
Contributor

Here is the fix PR #199, Thanks very much for helping us to find the problem.

@Ldpe2G Ldpe2G closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants