dunnousername / yanderifier

First-Order-Wrapper (formerly known as Yanderify) is a front-end tool for first-order-motion. It aims to make using first-order-motion face animation accessible to everyone, for education and entertainment.
1.76k stars 291 forks source link

yanderify crashed in CPU mode #76

Closed Mosesofmason closed 3 years ago

Mosesofmason commented 3 years ago

The log shows:

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a RuntimeError at stage "predict".
Message: "number of dims don't match in permute"
Full traceback:
  File "yanderify.py", line 229, in worker_thread

  File "yanderify.py", line 182, in make_animation_batch

<log>
cpu=1
</log>
<inputs>
C:/Users/aaa/Desktop/starlin.mp4 C:/Users/aaa/Desktop/s.jpg C:/Users/aaa/Desktop/s.mp4
</inputs>

The command window has this error:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 917, in _bootstrap_inner
  File "threading.py", line 865, in run
  File "yanderify.py", line 269, in worker_thread
  File "yanderify.py", line 229, in worker_thread
  File "yanderify.py", line 182, in make_animation_batch
RuntimeError: number of dims don't match in permute

My CPU is i7-10700, I believe it is fast enough to run Yanderify?

Animan8000 commented 3 years ago

What version of Yanderify did you use? If it's v4.0.3, try maybe v2.0.5 or the new alpha, in case that fixes it somehow.

Mosesofmason commented 3 years ago

Yes, the latest v5.0.0 alpha 1 works.