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

how can i run this without Nvidia graphics card

Open jackefrain01 opened this issue 3 years ago • 9 comments

i keep getting this message +++++++

C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\cuda_init_.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at ..\c10\cuda\CUDAFunctions.cpp:100.) return torch._C._cuda_getDeviceCount() > 100 Traceback (most recent call last): File "afy/cam_fomm.py", line 218, in **predictor_args File "C:\Users\USER\avatarify\afy\predictor_local.py", line 48, in init self.generator, self.kp_detector = self.load_checkpoints() File "C:\Users\USER\avatarify\afy\predictor_local.py", line 66, in load_checkpoints checkpoint = torch.load(self.checkpoint_path, map_location=self.device) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 581, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

how can i resolve this please

jackefrain01 avatar Sep 25 '22 02:09 jackefrain01

@JohanAR

jackefrain01 avatar Sep 25 '22 02:09 jackefrain01

A good start would be to read the text that you just gave me :)

FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

JohanAR avatar Sep 25 '22 10:09 JohanAR

A good start would be to read the text that you just gave me :)

FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

how can resolve this? i have been trying

jackefrain01 avatar Sep 29 '22 21:09 jackefrain01

Read the documentation again, it is explained there.

JohanAR avatar Sep 30 '22 06:09 JohanAR

i keep getting this message +++++++

C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\cuda_init_.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at ..\c10\cuda\CUDAFunctions.cpp:100.) return torch._C._cuda_getDeviceCount() > 100 Traceback (most recent call last): File "afy/cam_fomm.py", line 218, in **predictor_args File "C:\Users\USER\avatarify\afy\predictor_local.py", line 48, in init self.generator, self.kp_detector = self.load_checkpoints() File "C:\Users\USER\avatarify\afy\predictor_local.py", line 66, in load_checkpoints checkpoint = torch.load(self.checkpoint_path, map_location=self.device) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 581, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

how can i resolve this please

From the error message. It shows your system is not NVIDIA compatible. You should consider getting a geming system with gtx or NVIDIA. Else you can run it on google colab .

davidlorex avatar Oct 01 '22 22:10 davidlorex

@davidlorex that is not the error message. The error is "FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'" as I've said earlier.

The text you're referring to is a warning. While I haven't tested it myself, it should be possible to run Avatarify using the CPU. It will be extremely slow, but it should not crash on startup because of this.

JohanAR avatar Oct 03 '22 07:10 JohanAR

Can i use avatarify in mac?

Jerriecruiz avatar Oct 11 '22 01:10 Jerriecruiz

@Jerriecruiz If you don't read the documentation, the answer is: No, you can't use avatarify :) It does not matter if you have Mac, Linux or Windows. Being able to read and follow instructions is the number 1 preconditions to using this software.

JohanAR avatar Oct 11 '22 06:10 JohanAR

Can i use avatarify in mac?

Yes. Use colab

davidlorex avatar Oct 13 '22 12:10 davidlorex

I am really confused here, Can some advice on how to run Avatarify on my Mac system.

vicmore101 avatar Dec 09 '22 15:12 vicmore101

g

I am really confused here, Can some advice on how to run Avatarify on my Mac system.

google collab but i cant even change my pictures to local pics

johnsonomar01 avatar Dec 26 '22 07:12 johnsonomar01

Please can I run avatarify on Window 11 ??

badmuspro avatar Jan 23 '23 13:01 badmuspro

Please can I run avatarify on Window 11 ??

Did you get an answer for this? I've tried and tried, but it's not working, I don't know if it's because I'm on Win11

nuelljune avatar Jan 31 '23 21:01 nuelljune

Please can I run avatarify on Window 11 ??

Did you get an answer for this? I've tried and tried, but it's not working, I don't know if it's because I'm on Win11

It’s working I gave it a try and did it successfully on Win 11….

badmuspro avatar Jan 31 '23 22:01 badmuspro

How do I run avatarify on Google colab. Someone please help

preciouskel avatar Apr 17 '23 13:04 preciouskel

g

I am really confused here, Can some advice on how to run Avatarify on my Mac system.

google collab but i cant even change my pictures to local pics

How did you go about it please?

Chopalone avatar Apr 26 '23 11:04 Chopalone

On Wed, Apr 26, 2023 at 4:58 AM Chopalone @.***> wrote:

g

I am really confused here, Can some advice on how to run Avatarify on my Mac system.

google collab but i cant even change my pictures to local pics

How did you go about it please?

I eventually got it but now I’m stock in using camtwist. I’ve given up

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

johnsonomar01 avatar Apr 26 '23 11:04 johnsonomar01

On Wed, Apr 26, 2023 at 4:58 AM Chopalone @.> wrote: g I am really confused here, Can some advice on how to run Avatarify on my Mac system. google collab but i cant even change my pictures to local pics How did you go about it please? I eventually got it but now I’m stock in using camtwist. I’ve given up — Reply to this email directly, view it on GitHub <#456 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HKKKCQU4FZ2O3PDI4QVATXDEEVBANCNFSM6AAAAAAQU4PE2E . You are receiving this because you commented.Message ID: @.>

Lol. Let me assist you . I use a macbook Air 2015. You don't need cam twist use OBS studio. Send me direct mail [email protected] if you still not finding your way through , I will assist you easily.

davidlorex avatar Apr 26 '23 12:04 davidlorex

How do I run avatarify on Google colab. Someone please help

Have you visit the Colab server with your Gmail signed in, if you still do not get the process .watch the avatarify colab video on YouTube that's should help. Let me know if that helps .

davidlorex avatar Apr 26 '23 12:04 davidlorex

Are you trying to get it done for your macbook or windows. Let me know so I know exactly how to help

davidlorex avatar Apr 26 '23 12:04 davidlorex

On MacBook

On Wed, Apr 26, 2023 at 5:24 AM davidlorex @.***> wrote:

Are you trying to get it done for your macbook or windows. Let me know so I know exactly how to help

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

johnsonomar01 avatar Apr 26 '23 12:04 johnsonomar01

On Mac On Wed, 26 Apr 2023 at 5:27 AM, johnsonomar01 @.***> wrote:

On MacBook

On Wed, Apr 26, 2023 at 5:24 AM davidlorex @.***> wrote:

Are you trying to get it done for your macbook or windows. Let me know so I know exactly how to help

— Reply to this email directly, view it on GitHub < https://github.com/alievk/avatarify-python/issues/456#issuecomment-1523330845 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/A3HKKKF3MV22MWSFMURYBPDXDEHZNANCNFSM6AAAAAAQU4PE2E

. 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/456#issuecomment-1523333444, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7ACMUSV5264JTMYGGJ25SLXDEIBNANCNFSM6AAAAAAQU4PE2E . You are receiving this because you commented.Message ID: @.***>

Chopalone avatar Apr 26 '23 12:04 Chopalone

i keep getting this message +++++++

C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\cuda_init_.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at ..\c10\cuda\CUDAFunctions.cpp:100.) return torch._C._cuda_getDeviceCount() > 100 Traceback (most recent call last): File "afy/cam_fomm.py", line 218, in **predictor_args File "C:\Users\USER\avatarify\afy\predictor_local.py", line 48, in init self.generator, self.kp_detector = self.load_checkpoints() File "C:\Users\USER\avatarify\afy\predictor_local.py", line 66, in load_checkpoints checkpoint = torch.load(self.checkpoint_path, map_location=self.device) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 581, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Users\USER\deepfake\envs\avatarify\lib\site-packages\torch\serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'vox-adv-cpk.pth.tar'

how can i resolve this please

Error 2: No such file or directory 'vox-adv-cpk.pth.tar

With my broad experience, I can tell from this that you have not put in the VOX zip file in the avatarify-python path.

davidlorex avatar Apr 27 '23 06:04 davidlorex