lucidrains / audiolm-pytorch

Implementation of AudioLM, a SOTA Language Modeling Approach to Audio Generation out of Google Research, in Pytorch
MIT License
2.36k stars 255 forks source link

TypeError: unhappable type: 'list' #147

Open tandongli192 opened 1 year ago

tandongli192 commented 1 year ago

When I execute ‘from audiolm_pytorch import SoundStream’, the following message appears ‘in the python3.9/typeing.py file: remove dups_ flatten all_params=set (params) TypeError: unhappable type: 'list'’, how can I solve this problem

lucidrains commented 1 year ago

@tandongli192 could you show the full script or error trace?

lucidrains commented 1 year ago

are you using python 3.9.1 by any chance? https://github.com/beartype/beartype/issues/99

tandongli192 commented 1 year ago

yes,the version of python is 3.9.1

tandongli192 commented 1 year ago

if i excute import sentence,it will appear the error.it's weird

lucidrains commented 1 year ago

@tandongli192 can you try upgrading to 3.9.13 and see if it works or not?