Skip to content

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

@yuchen3890

Description

@yuchen3890

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions