Open autumnmotor opened 1 year ago
Thank you for your comment. I'll leave the thread here for others who might want to run this on a Mac.
I found the solution, you should install the preview(nightly) version of pyTorch:
$ conda install pytorch torchvision torchaudio -c pytorch-nightly
Then simply change cuda
into mps
here:
When using cpu version, the fps was only 1; after using mps version, it increases to about 10 fps, which is more like an animation.
Thanks for the thread. I installed it successfully on my M1 MAC.
Just a friendly reminder that don't forget to change python
into pythonw
while executing
> python tha3/app/manual_poser.py
or other python
command
Thanks for the thread. I installed it successfully on my M1 MAC. Just a friendly reminder that don't forget to change
python
intopythonw
while executing> python tha3/app/manual_poser.py
or otherpython
command
is it possible to run it in windows using cpu ? pls reply
hi. I've tried ifacialmocap_puppeteer.py and manual_poser.py and they are very interesting! It's cool to be able to move a single picture like this without the complicated setup of Live2D!
By the way, I tried running this script on my M1Mac, but it required some modifications to the source. First, since M1Mac does not support cuda,
to
I had to change it to M1Mac should support "torch.device('mps')", but in this case, in the update_images method
I am getting an error at the above location.
So I had to choose torch.device('cpu'). Also, regarding the --model argument, standard_float, separable_float worked, but standard_half, separable_half did not work with the following error.
I've also encountered other programs using pytorch, but half (float16?) doesn't seem to work on M1Mac for now.
Anyway, the fix above worked. Of course, the speed is slow because the CPU is specified as the device, but I feel there is a lot of potential. Thank you for publishing such a wonderful project!
Translated from Japanese to English by Google. Thank you for reading my poor English!