Skip to content

strange error in the test_ani #11

@crankyz

Description

@crankyz

got this message "what the fuck for demo/00181_aligned.mp4 several times than :

Traceback (most recent call last):
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/test_demo_ani.py", line 113, in
data_loader = CreateDataLoader(opt)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/data_loader.py", line 12, in CreateDataLoader
data_loader.initialize(opt)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/custom_dataset_data_loader.py", line 20, in initialize
self.dataset = data.create_dataset(opt)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/init.py", line 43, in create_dataset
instance.initialize(opt)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/facefore_demo_dataset.py", line 209, in initialize
self.ref_video, self.ref_lmarks, self.ref_indices, self.ref_coords = self.define_inference(self.ref_video, self.ref_lmarks)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/facefore_demo_dataset.py", line 409, in define_inference
ref_images, ref_lmarks, ref_coords = self.prepare_datas(real_video, lmarks, ref_indices)
File "/home/igor/head/Talking-head-Generation-with-Rhythmic-Head-Motion/data/facefore_demo_dataset.py", line 553, in prepare_datas
result_lmarks.append(lmark)
UnboundLocalError: local variable 'lmark' referenced before assignment

Process finished with exit code 1

Thank you for your answer.

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