torchaudio.datasets doesn’t seem to have the “timit” dataset as seen here 21.
Your code is currently a bit hard to read and you can format it by wrapping it into three backticks ```.
Are you defining this dataset somehow?
E.g. load_timit_item seems to be undefined as well.