haoheliu / audioldm_eval

This toolbox aims to unify audio generation model evaluation for easier comparison.
MIT License
295 stars 31 forks source link

TypeError: 'int' object is not iterable #12

Open 2023210549 opened 2 months ago

2023210549 commented 2 months ago

Has anyone encountered this kind of error and how to solve it

smullins998 commented 2 months ago

I replaced this line out.update(fad_score)

with this line out.update("fad_score" : fad_score) and it seemed to work.

nobel861017 commented 1 month ago

should be out.update({"fad_score":fad_score})