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

Error on run_windows.bat

Open GhostShot3 opened this issue 3 years ago • 10 comments

I do exactly all install steps and this error happen when i get on run_windows.bat command 3444

  • OS: Windows 10 Pro
  • GPU model: RTX 3070Ti

GhostShot3 avatar May 14 '23 07:05 GhostShot3

Based on your directory path, did you download the "release" from github? Try checking out the master branch instead.

JohanAR avatar May 15 '23 06:05 JohanAR

(avatarify) D:\avatarify-python>run_windows.bat Traceback (most recent call last): File "afy/cam_fomm.py", line 4, in import yaml ModuleNotFoundError: No module named 'yaml'

(avatarify) D:\avatarify-python>

i cant get mine running. do you have an idea whats wrong

larryblaqi avatar May 16 '23 04:05 larryblaqi

I get another error, i will update on new inssue.

GhostShot3 avatar May 17 '23 01:05 GhostShot3

WhT is your laptop specification please ?

MICKYGEM avatar Jun 02 '23 11:06 MICKYGEM

Call me on zoom video call or WhatsApp call if your laptop meets the requirements.

MICKYGEM avatar Jun 02 '23 11:06 MICKYGEM

I do exactly all install steps and this error happen when i get on run_windows.bat command

3444

  • OS: Windows 10 Pro

  • GPU model: RTX 3070Ti

You missed installation I guess

MICKYGEM avatar Jun 02 '23 11:06 MICKYGEM

after ...all the installation and it was just for "run_windows.ba" i ran into the below error or messages (avatarify) C:\Users\nella\avatarify-python>run_windows.bat [1689049910.887951] Loading Predictor C:\Users\nella\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:3484.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] [1689049915.554410] Trying camera with id 0 [1689049920.931976] Trying camera with id 1 [ WARN:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback [[1689049921.878863] Trying camera with id 2 WARN:1] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback

xrated47 avatar Jul 11 '23 04:07 xrated47

Screenshot (5)

xrated47 avatar Jul 11 '23 05:07 xrated47

‪+234 811 513 3627‬ WhatsApp Let’s connect anydesk

On Tue, Jul 11, 2023 at 5:56 AM xrated47 @.***> wrote:

after ...all the installation and it was just for "run_windows.ba" i ran into the below error or messages (avatarify) C:\Users\nella\avatarify-python>run_windows.bat [1689049910.887951] Loading Predictor C:\Users\nella\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:3484.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] [1689049915.554410] Trying camera with id 0 [1689049920.931976] Trying camera with id 1 [ WARN:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback [[1689049921.878863] Trying camera with id 2 WARN:1] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback

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

-- MICKYGEM💎

MICKYGEM avatar Jul 11 '23 05:07 MICKYGEM

how do i solve this 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:3610.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] C:\Users\IB\avatarify-python\afy\predictor_local.py:66: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. checkpoint = torch.load(self.checkpoint_path, map_location=self.device) Traceback (most recent call last): File "afy/cam_fomm.py", line 217, in predictor = predictor_local.PredictorLocal( File "C:\Users\IB\avatarify-python\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\IB\miniconda3\envs\avatarify\lib\enum.py", line 384, in getattr raise AttributeError(name) from None AttributeError: _2D

669-pro avatar Dec 14 '24 22:12 669-pro