StyleHEAT
StyleHEAT copied to clipboard
AttributeError: _2D
(StyleHEAT2) C:\Users\USER\Desktop\aria\StyleHEAT-styleheat>python inference.py --config configs/inference.yaml --video_source=./docs/demo/videos/RD_Radio34_003_512.mp4 --image_source=./docs/demo/images/100.jpg --cross_id --if_extract --output_dir=./docs/demo/output
Traceback (most recent call last):
File "inference.py", line 5, in
hello dears
who can solve this issue?
sed -i -e 's/_2D/TWO_D/g' $(find . -name *.py)
make sure you're in the right directory
It's possible that the issue is related to the version of face_alignment. I recommend switching to face_alignment version 1.3.2. You can do this by running the following command: pip install face_alignment==1.3.2
this is the problem caused by different version of face_alignment, you can change the function from face_alignment.LandmarksType._2D
to face_alignment.LandmarksType.TWO_D
It's possible that the issue is related to the version of face_alignment. I recommend switching to face_alignment version 1.3.2. You can do this by running the following command:
pip install face_alignment==1.3.2
Yes that was basically the problem.