Few-Shot-Adversarial-Learning-for-face-swap icon indicating copy to clipboard operation
Few-Shot-Adversarial-Learning-for-face-swap copied to clipboard

video data process error!

Open CodingMice opened this issue 4 years ago • 2 comments

when I used "python get_landmarks.py", I met this error: File "get_landmarks.py", line 43, in preds = preds[-1] IndexError: list index out of range

CodingMice avatar Oct 29 '19 04:10 CodingMice

when I used "python get_landmarks.py", I met this error: File "get_landmarks.py", line 43, in preds = preds[-1] IndexError: list index out of range

Just try catch the errors:

try:
    preds = preds[-1]
    ...
except:
    print(i,'error:',preds)

WynMew avatar Nov 07 '19 06:11 WynMew

@WynMew 谢谢兄弟,咋都没想到是数据集的问题。

jjandnn avatar Nov 07 '19 09:11 jjandnn