Open komilaria opened 12 months ago
is it work on windows?
The code is tested on linux ubuntu 18.04. It seems like your problem is about your python environment. Since we don't have your running log, this issue could not be solve. Either paste your error log here or try it on linux.
(hdtr-net1) PS C:\Users\USER\Desktop\aria\HDTR-Net> python inference.py --input_video sample/arialast.mp4
C:\Users\USER\miniconda3\envs\hdtr-net1\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension:
warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
File "inference.py", line 20, in
i am using Windows 11. maybe this issue depend on it?
I think there may be an error in the version of face_alignment. You can refer to this answer
You need to change _3D to THREE_D, and if you got same error but with _2D you need to change it to TWO_D.
Have the same issue on linux. Any idea?
-
raceback (most recent call last):
File "inference.py", line 20, in
A possible fix for this is to pip install face-alignment==1.3.4
(or change it in requirements.txt).
how to solve issue