Closed seranus closed 4 years ago
I have fixed both the issues now. Please let me know if it is alright :)
It does not fix my main issue, you are defining full_frames only if the input is a video
but you are referencing it later for any input
Sorry about that. Defined full_frames for single image input as well. Any other errors?
It works now, what model goes into --checkpoint
param it doesn't say in the param description. Is it the path to the LipGAN or I have to train a generator?
Please indicate the line you are talking about.
Thanks, it works now. I was using the folder path instead of the LipGan file path for --checkpoint
When using a single image full_frames is not defined
Traceback (most recent call last): File "batch_inference.py", line 228, in <module> main() File "batch_inference.py", line 178, in main print ("Number of frames to be used for inference: "+str(len(full_frames))) UnboundLocalError: local variable 'full_frames' referenced before assignment
Also FPS is a required parameter, in the docs for image it isn't specified