eeskimez / emotalkingface

The code for the paper "Speech Driven Talking Face Generation from a Single Image and an Emotion Condition"
MIT License
161 stars 29 forks source link

Fixes: faceAligner center issue, moves collections to newer collections.abc for Iterable #15

Closed joecodecreations closed 1 year ago

joecodecreations commented 1 year ago

Hello! Thanks for the project. When pulling project there were a couple issues found due to package updates etc.

One issue was that collections no longer has Iterable but now is on the collections.abc . This was now allowing command to be processed when running python generate.py -im ./data/image_samples/img01.png -is ./data/speech_samples/speech01.wav -m ./model/ -o ./results/.

Error was AttributeError: module 'collections' has no attribute 'Iterable'.

Additionally was receiving TypeError: Can't parse 'center'. Sequence item with index 0 has a wrong type so needed to provide round function to allow whole integer on facealigner.py

Thanks