openspeech-team / openspeech

Open-Source Toolkit for End-to-End Speech Recognition leveraging PyTorch-Lightning and Hydra.
https://openspeech-team.github.io/openspeech/
MIT License
670 stars 112 forks source link

can't pickle dict_keys objects. #183

Open bobo712 opened 1 year ago

bobo712 commented 1 year ago

I chose to use multiple GPU for training,I found a problem.The question:type: can not pickle dict_keys objects. I don't know how to solve it,After checking, this problem only occurs on Windows system, but I use ubuntu system Could you tell me how to solve it?,Thank you

image

jangsoopark commented 1 year ago

Hello,

I also encountered the same issue and it was resolved by replacing this line character.py 56 with self.labels = list(self.vocab_dict.keys())