openspeech icon indicating copy to clipboard operation
openspeech copied to clipboard

can't pickle dict_keys objects.

Open bobo712 opened this issue 3 years ago • 1 comments

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

bobo712 avatar Nov 23 '22 13:11 bobo712

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())

jangsoopark avatar Dec 12 '22 08:12 jangsoopark