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

ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package #584

Open
debrah01 opened this issue May 9, 2023 · 24 comments

Comments

@debrah01
Copy link

debrah01 commented May 9, 2023

This is what i see when i try to run run_windows.bat

[1683659832.430951] Loading Predictor
Traceback (most recent call last):
File "afy/cam_fomm.py", line 216, in
from afy import predictor_local
File "C:\Users\User\avatarify-python\afy\predictor_local.py", line 4, in
from modules.keypoint_detector import KPDetector
ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package

@JohanAR
Copy link
Collaborator

JohanAR commented May 9, 2023

Make sure you follow the install instructions for Windows, and don't miss any steps.

@kingaguero1
Copy link

[1683661829.552913] Loading Predictor
Traceback (most recent call last):
File "C:\Users\O\avatarify-python\afy\cam_fomm.py", line 193, in
from afy import predictor_local
File "C:\Users\O\avatarify-python\afy\predictor_local.py", line 4, in
from modules.keypoint_detector import KPDetector
ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package

having same issue i need help please

@seegunz
Copy link

seegunz commented May 10, 2023

run this code below

pip install pyyaml
pip install requests
pip install scipy
pip install scikit-learn
pip install face_alignment
pip install sklearn
conda install -c conda-forge scikit-learn
pip install pandas

@kingaguero1
Copy link

still did not work giving me same [ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package]

@emmaezeiru
Copy link

what is the update on this

@MICKYGEM
Copy link

MICKYGEM commented Jun 2, 2023

Dm no char...

So I could take you on the proper installation tho if you don't mind .
What's app

‪+234 811 513 3627‬

@MICKYGEM
Copy link

MICKYGEM commented Jun 2, 2023

Please always on video call

@Stella892
Copy link

File "afy/cam_fomm.py", line 216, in
from afy import predictor_local
File "C:\Users\DONBL\avatarify-python-youtube\afy\predictor_local.py", line 4, in
from modules.keypoint_detector import KPDetector
ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package

@Stella892
Copy link

Anyone willing to help me out?

@emmaezeiru
Copy link

Dm me on WhatsApp for the proper installation 08126257676

@seegunz
Copy link

seegunz commented Jun 18, 2023

File "afy/cam_fomm.py", line 216, in from afy import predictor_local File "C:\Users\DONBL\avatarify-python-youtube\afy\predictor_local.py", line 4, in from modules.keypoint_detector import KPDetector ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package

reinstall the program without network disconnection

@Blessup5951
Copy link

File "afy/cam_fomm.py", line 216, in from afy import predictor_local File "C:\Users\DONBL\avatarify-python-youtube\afy\predictor_local.py", line 4, in from modules.keypoint_detector import KPDetector ModuleNotFoundError: No module named 'modules.keypoint_detector'; 'modules' is not a package

reinstall the program without network disconnection

Will you pls walk me through these process. And I hope it be a beginning of a great connection between us. Thank you

Best Regards

@MICKYGEM
Copy link

MICKYGEM commented Jun 20, 2023 via email

@justme220011
Copy link

miniconda3\envs\avatarify\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3191.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Traceback (most recent call last):
File "afy/cam_fomm.py", line 218, in
**predictor_args
File "C:\Users\OMEN\avatarify-python-youtube\afy\predictor_local.py", line 49, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=True, device=self.device)
File "C:\Users\OMEN\miniconda3\envs\avatarify\lib\enum.py", line 354, in getattr
raise AttributeError(name) from None
AttributeError: _2D

this is what i am getting after i reinstalled

@seegunz
Copy link

seegunz commented Aug 25, 2023

miniconda3\envs\avatarify\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3191.)

return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]

Traceback (most recent call last):

File "afy/cam_fomm.py", line 218, in

**predictor_args

File "C:\Users\OMEN\avatarify-python-youtube\afy\predictor_local.py", line 49, in init

self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=True, device=self.device)

File "C:\Users\OMEN\miniconda3\envs\avatarify\lib\enum.py", line 354, in getattr

raise AttributeError(name) from None

AttributeError: _2D

this is what i am getting after i reinstalled

... reinstall your program concretely. If you need assistance still. Buzz me up

@marshall-570
Copy link

Am having same issue please anyone to help us🙏🙏

@MICKYGEM
Copy link

MICKYGEM commented Sep 12, 2023 via email

@marshall-570
Copy link

marshall-570 commented Sep 12, 2023 via email

@seegunz
Copy link

seegunz commented Oct 11, 2023

How do I download the batch file?

On Tue, Sep 12, 2023, 7:53 AM MICKYGEM @.***> wrote:

Try download the batch file for

.cache

Fixed!

On Thu, 17 Aug 2023 at 5:38 PM, justme220011 @.***>

wrote:

miniconda3\envs\avatarify\lib\site-packages\torch\functional.py:504:

UserWarning: torch.meshgrid: in an upcoming release, it will be required

to

pass the indexing argument. (Triggered internally at

C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3191.)

return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]

Traceback (most recent call last):

File "afy/cam_fomm.py", line 218, in

**predictor_args

File "C:\Users\OMEN\avatarify-python-youtube\afy\predictor_local.py",

line

49, in init

self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D,

flip_input=True, device=self.device)

File "C:\Users\OMEN\miniconda3\envs\avatarify\lib\enum.py", line 354, in

getattr

raise AttributeError(name) from None

AttributeError: _2D

this is what i am getting after i reinstalled

Reply to this email directly, view it on GitHub

<

https://github.com/alievk/avatarify-python/issues/584#issuecomment-1682612328>,

or unsubscribe

<

https://github.com/notifications/unsubscribe-auth/AKL6YJ73TMBLVWYZBLOA4PDXVZCHXANCNFSM6AAAAAAX3XKKF4>

.

You are receiving this because you commented.Message ID:

@.***>

Reply to this email directly, view it on GitHub

#584 (comment),

or unsubscribe

https://github.com/notifications/unsubscribe-auth/BAGQHNULTBE44NPEX6R2VG3X2BLNHANCNFSM6AAAAAAX3XKKF4

.

You are receiving this because you commented.Message ID:

@.***>

Did you figure it out

@wisdom0012
Copy link

(avatarify) C:\Users\wisdom\Downloads\avatarify\avatarify-python>run_windows.bat
[1704412501.699590] Loading Predictor
Traceback (most recent call last):
File "afy/cam_fomm.py", line 216, in
from afy import predictor_local
File "C:\Users\wisdom\Downloads\avatarify\avatarify-python\afy\predictor_local.py", line 4, in
from modules.keypoint_detector import KPDetector
ModuleNotFoundError: No module named 'modules'

please am getting this error after running run_windows.bat
please anyone to help

@SanPatrick01
Copy link

Get anydesk and send here

‪+234 811 513 3627‬
WhatsApp

@Brownlyn-Codelabs
Copy link

Get your installation, easy step by step tutorial here.
anyDesk or come in person.
call 0552366834 or whatsapp.
Thank you.
avatarify, DeepFake, Voice cloning. all here.

@seegunz
Copy link

seegunz commented Jan 15, 2024

Place the fomm folder in the root directory for avatarify-python

@marshall-570
Copy link

marshall-570 commented Jan 15, 2024 via email

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

No branches or pull requests

14 participants