CHELSEA234 / Multi-domain-learning-FAS

The multi-domain FAS work with SiW-Mv2 dataset (ECCV 2022 oral)
http://cvlab.cse.msu.edu/siwm-v2-dataset.html
68 stars 9 forks source link

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

Open yuchen3890 opened 1 year ago

yuchen3890 commented 1 year ago

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.