1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.33k forks source link

Cannot Run with CPU #158

Closed swagzhang closed 4 years ago

swagzhang commented 4 years ago

Hi, I installed your project via conda. It works fine with gpu, but when I set device='cpu'. Program crashed and report Illegal instruction (core dumped). Please Help~~~ Thanks in Advance.

1adrianb commented 4 years ago

Beyond making sure that you have the latest PyTorch version and that you are using SFD for face detection I am afraid I cannot be more helpful without a full stack trace of the crash.

swagzhang commented 4 years ago

Hi, " Illegal instruction " is all I got even when I turned on verbose.

1adrianb commented 4 years ago

@lz2470 most likely its due to this: https://github.com/pytorch/pytorch/issues/2714