Hangz-nju-cuhk / Talking-Face_PC-AVS

Code for Pose-Controllable Talking Face Generation by Implicitly Modularized Audio-Visual Representation (CVPR 2021)
Creative Commons Attribution 4.0 International
916 stars 169 forks source link

SyntaxError: invalid syntax #45

Open CeccAnd opened 2 years ago

CeccAnd commented 2 years ago

Hello with bash experiments/demo_vox.sh I obtained an error:

~/Talking-Face_PC-AVS-main$ bash experiments/demo_vox.sh Traceback (most recent call last): File "inference.py", line 4, in from options.test_options import TestOptions File "/home/andrea/Talking-Face_PC-AVS-main/options/test_options.py", line 1, in from .base_options import BaseOptions File "/home/andrea/Talking-Face_PC-AVS-main/options/base_options.py", line 5, in from util import util File "/home/andrea/Talking-Face_PC-AVS-main/util/util.py", line 47 imgs = np.concatenate([imgs, np.zeros((rowPadding, *imgs.shape[1:]), dtype=imgs.dtype)], axis=0) ^ SyntaxError: invalid syntax

etoscano commented 2 years ago

I have the same error

I was just following the instructions to run the tool

yuanbit commented 1 year ago

I got the same error too, is there a solution?