Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't pickle dict_keys objects. #183

Open
bobo712 opened this issue Nov 23, 2022 · 1 comment
Open

can't pickle dict_keys objects. #183

bobo712 opened this issue Nov 23, 2022 · 1 comment

Comments

@bobo712
Copy link

bobo712 commented Nov 23, 2022

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
Copy link

jangsoopark commented Dec 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants