Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError when load ifacialmocap #25

Open
YuzhouPeng opened this issue Feb 28, 2024 · 0 comments
Open

KeyError when load ifacialmocap #25

YuzhouPeng opened this issue Feb 28, 2024 · 0 comments

Comments

@YuzhouPeng
Copy link

Hello, when I use ifacialmocap to connect computer, error happens:

Error 1:
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 280, in update_capture_panel
value = data[rotation_name]
KeyError: 'rightEyeBoneX'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 312, in update_result_image_bitmap
current_pose = self.pose_converter.convert(ifacialmocap_pose)
File "/media/test/DATA/talking-head-anime-3-demo/tha3/mocap/ifacialmocap_poser_converter_25.py", line 282, in convert
(ifacialmocap_pose[MOUTH_SMILE_LEFT] + ifacialmocap_pose[MOUTH_SMILE_RIGHT]) / 2.0
KeyError: 'mouthSmileLeft'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 280, in update_capture_panel
value = data[rotation_name]
KeyError: 'rightEyeBoneX'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 312, in update_result_image_bitmap
current_pose = self.pose_converter.convert(ifacialmocap_pose)
File "/media/test/DATA/talking-head-anime-3-demo/tha3/mocap/ifacialmocap_poser_converter_25.py", line 282, in convert
(ifacialmocap_pose[MOUTH_SMILE_LEFT] + ifacialmocap_pose[MOUTH_SMILE_RIGHT]) / 2.0
KeyError: 'mouthSmileLeft'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 280, in update_capture_panel
value = data[rotation_name]
KeyError: 'rightEyeBoneX'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 312, in update_result_image_bitmap
current_pose = self.pose_converter.convert(ifacialmocap_pose)
File "/media/test/DATA/talking-head-anime-3-demo/tha3/mocap/ifacialmocap_poser_converter_25.py", line 282, in convert
(ifacialmocap_pose[MOUTH_SMILE_LEFT] + ifacialmocap_pose[MOUTH_SMILE_RIGHT]) / 2.0
KeyError: 'mouthSmileLeft'
Traceback (most recent call last):
File "tha3/app/ifacialmocap_puppeteer.py", line 280, in update_capture_panel
value = data[rotation_name]
KeyError: 'rightEyeBoneX'

Error 2: after I can see the value. when I load image, the program just stuck.

But when I run manual_poser.py, I can load image and modify it.

Can you tell me how to solve it? thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant