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

Encounter "ZeroDivisionError: float division by zero" when running source_SiW_Mv2/preprocessing.py #14

Open
yuchen3890 opened this issue Jun 26, 2023 · 0 comments

Comments

@yuchen3890
Copy link

Hello, first thank you for this great work. Below is the error I encounter when running source_SiW_Mv2/preprocessing.py,
image
It seems that the "eye2eye_dis" of the current frame equals to zero, which also makes "xr-xl" equal to zero. The x_scale then cannot be compute (since it will be infinite). May I ask is there the same problem happends when you run this code? I wonder if it is ok to ignore the frame directly. Hope to here from you soon. Thank you very much.

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