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

how can i run this without Nvidia graphics card #456

Open
jackefrain01 opened this issue Sep 25, 2022 · 23 comments
Open

how can i run this without Nvidia graphics card #456

jackefrain01 opened this issue Sep 25, 2022 · 23 comments

Comments

@jackefrain01
Copy link

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
Copy link
Author

@JohanAR

@JohanAR
Copy link
Collaborator

JohanAR commented Sep 25, 2022

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'

@jackefrain01
Copy link
Author

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

@JohanAR
Copy link
Collaborator

JohanAR commented Sep 30, 2022

Read the documentation again, it is explained there.

@davidlorex
Copy link

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 .

@JohanAR
Copy link
Collaborator

JohanAR commented Oct 3, 2022

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

@Jerriecruiz
Copy link

Can i use avatarify in mac?

@JohanAR
Copy link
Collaborator

JohanAR commented Oct 11, 2022

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

Repository owner deleted a comment from Yvngthills Oct 12, 2022
@davidlorex
Copy link

Can i use avatarify in mac?

Yes. Use colab

@vicmore101
Copy link

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

@johnsonomar01
Copy link

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

@badmuspro
Copy link

Please can I run avatarify on Window 11 ??

@nuelljune
Copy link

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

@badmuspro
Copy link

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….

@preciouskel
Copy link

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

@Chopalone
Copy link

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?

@johnsonomar01
Copy link

johnsonomar01 commented Apr 26, 2023 via email

@davidlorex
Copy link

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
Copy link

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
Copy link

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

@johnsonomar01
Copy link

johnsonomar01 commented Apr 26, 2023 via email

@Chopalone
Copy link

Chopalone commented Apr 26, 2023 via email

@davidlorex
Copy link

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.

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

10 participants