avatarify-python
avatarify-python copied to clipboard
Module not found error
(avatarify) C:\Users\LAMAR\avatarify-python>run_windows.bat
[1703360958.695988] Loading Predictor
Traceback (most recent call last):
File "afy/cam_fomm.py", line 216, in
You may need to install missing modules using pip if they are not already installed. You can use the following command to install packages:
pip install package_name
install the required packages for the 'avatarify' project.
make sure configs are right for our python script, especially if it relies on relative imports or specific directory structures.
Verify that the 'modules/keypoint_detector.py' file or module actually exists in the 'modules' directory.
pip install package_name
it didnt work
it may be helpful to share more details about the project structure and dependencies, as well as the relevant portions of the code within 'predictor_local.py' and 'keypoint_detector.py'. This information can assist in diagnosing the problem more accurately.
from modules.keypoint_detector import KPDetector from modules.generator_optim import OcclusionAwareGenerator from sync_batchnorm import DataParallelWithCallback import numpy as np
else: from afy import predictor_local predictor = predictor_local.PredictorLocal( **predictor_args )
you're trying to import the 'KPDetector' and 'OcclusionAwareGenerator' classes from the 'modules' package, but you're also attempting to import 'predictor_local' from 'afy' based on some condition. However, there is a slight issue with the structure of your code.
from modules.keypoint_detector import KPDetector
from modules.generator_optim import OcclusionAwareGenerator
from sync_batchnorm import DataParallelWithCallback
import numpy as np
# Check some condition
if some_condition:
from afy import predictor_local
predictor = predictor_local.PredictorLocal(**predictor_args)
else:
# Continue with other code if the condition is not met
# Your code here
Make sure to replace some_condition with your actual condition that determines whether to import 'predictor_local'. Let me know if this fixes it
pls im not really good in coding, i dont understand any code im just trying to use the software......but ill appreciate if you can assist me further outside this platform so that i can share my screen with you can just assist
I'm sorry I won't be able to help outside of Github
so what will i do now?
maybe somebody else here can help. im sorry once again
alright, thanks, i appreciate
Download anydesk and share thr address on it
106251575
im online now
lifeofthegoat this is my reddit username lets talk there
am also facing same issue can you please help me out..
1727257002 please this my anydesk id as well
+234 811 513 3627
Send to my whatsappp so we won't miss time please
Sending you a message
On Tue, 26 Dec 2023 at 7:15 AM, SanPatrick01 @.***> wrote:
+234 811 513 3627
Send to my whatsappp so we won't miss time please
— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/691#issuecomment-1869320148, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7BYCE47YLBJLZZJ2PMXKPTYLJ2PTAVCNFSM6AAAAABBA75N6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGMZDAMJUHA . You are receiving this because you commented.Message ID: @.***>
(avatarify) C:\Users\LAMAR\avatarify-python>run_windows.bat [1703360958.695988] Loading Predictor Traceback (most recent call last): File "afy/cam_fomm.py", line 216, in
from afy import predictor_local File "C:\Users\LAMAR\avatarify-python\afy\predictor_local.py", line 4, in from modules.keypoint_detector import KPDetector ModuleNotFoundError: No module named 'modules'
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
1727257002 please this my anydesk id as well
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
am also facing same issue can you please help me out..
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
am also facing same issue can you please help me out..
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
lifeofthegoat this is my reddit username lets talk there
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
1727257002 please this my anydesk id as well
If you have any problem with avatarify . Contact me for solutions 100% results. You can also watch my installation video that shows you how to do it yourself. Or simply ask for help from my whatsapp contact https://wa.me/message/GXQYWX4XRTXGB1
If anyone ever deal with this guy na scammer... don't ever deal or send money to him. he don't know anything.
Hello Please I Get The Bellow Message Each Time I Try To Do } run_windows.bat. Please What Do i Need To Do Because after downloading and place vox-adv-cpk.pth.tar file in the avatarify-python directory and then run_windows.bat i get the messages bellow please what do i do next. thanks
Traceback (most recent call last): File "afy/cam_fomm.py", line 4, in import yaml ModuleNotFoundError: No module named 'yaml' (base) PS C:\Users\pc\avatarify-python>
On Sun, 2 Jun 2024 at 4:54 PM, adindu11 @.***> wrote:
Hello Please I Get The Bellow Message Each Time I Try To Do } run_windows.bat. Please What Do i Need To Do Because after downloading and place vox-adv-cpk.pth.tar file in the avatarify-python directory and then run_windows.bat i get the messages bellow please what do i do next. thanks
Traceback (most recent call last): File "afy/cam_fomm.py", line 4, in import yaml ModuleNotFoundError: No module named 'yaml' (base) PS C:\Users\pc\avatarify-python>
— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/691#issuecomment-2143910469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRQLYVZ3KN5KIHXOBPK4ADZFM55DAVCNFSM6AAAAABBA75N6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHEYTANBWHE . You are receiving this because you commented.Message ID: @.***>
Download the vox and place in the avatarify folder
I Did That Already, I Will Attach It Bellow