avatarify-python icon indicating copy to clipboard operation
avatarify-python copied to clipboard

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

Open debrah01 opened this issue 1 year ago • 24 comments

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

debrah01 avatar May 09 '23 19:05 debrah01

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

JohanAR avatar May 09 '23 19:05 JohanAR

[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

kingaguero1 avatar May 09 '23 20:05 kingaguero1

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

seegunz avatar May 10 '23 06:05 seegunz

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

kingaguero1 avatar May 10 '23 08:05 kingaguero1

what is the update on this

emmaezeiru avatar May 29 '23 21:05 emmaezeiru

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 avatar Jun 02 '23 11:06 MICKYGEM

Please always on video call

MICKYGEM avatar Jun 02 '23 11:06 MICKYGEM

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 avatar Jun 14 '23 10:06 Stella892

Anyone willing to help me out?

Stella892 avatar Jun 14 '23 10:06 Stella892

Dm me on WhatsApp for the proper installation 08126257676

emmaezeiru avatar Jun 14 '23 14:06 emmaezeiru

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

seegunz avatar Jun 18 '23 00:06 seegunz

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

Blessup5951 avatar Jun 20 '23 14:06 Blessup5951

WhatsApp

On Tue, Jun 20, 2023 at 3:44 PM Blessup5951 @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/584#issuecomment-1598932153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKL6YJ6WXFDRW7LVSVKFAJDXMGZNTANCNFSM6AAAAAAX3XKKF4 . You are receiving this because you commented.Message ID: @.***>

-- MICKYGEM💎

MICKYGEM avatar Jun 20 '23 14:06 MICKYGEM

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

justme220011 avatar Aug 17 '23 16:08 justme220011

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

seegunz avatar Aug 25 '23 00:08 seegunz

Am having same issue please anyone to help us🙏🙏

marshall-570 avatar Sep 11 '23 20:09 marshall-570

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: @.***>

MICKYGEM avatar Sep 12 '23 12:09 MICKYGEM

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 https://github.com/alievk/avatarify-python/issues/584#issuecomment-1715669231, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGQHNULTBE44NPEX6R2VG3X2BLNHANCNFSM6AAAAAAX3XKKF4 . You are receiving this because you commented.Message ID: @.***>

marshall-570 avatar Sep 12 '23 18:09 marshall-570

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

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

or unsubscribe

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

.

You are receiving this because you commented.Message ID:

@.***>

Did you figure it out

seegunz avatar Oct 11 '23 00:10 seegunz

(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

wisdom0012 avatar Jan 04 '24 23:01 wisdom0012

Get anydesk and send here

‪+234 811 513 3627‬ WhatsApp

SanPatrick01 avatar Jan 05 '24 01:01 SanPatrick01

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.

Brownlyn-Codelabs avatar Jan 05 '24 20:01 Brownlyn-Codelabs

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

seegunz avatar Jan 15 '24 16:01 seegunz

What's your country code please

On Mon, Jan 15, 2024, 5:27 PM seegunz @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/584#issuecomment-1892473754, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAGQHNSCZU5CPJEW6O43XMTYOVKG5AVCNFSM6AAAAAAX3XKKF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGQ3TGNZVGQ . You are receiving this because you commented.Message ID: @.***>

marshall-570 avatar Jan 15 '24 22:01 marshall-570