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

About Multiprocessing #6

Open
JIANAN17 opened this issue Dec 26, 2018 · 3 comments
Open

About Multiprocessing #6

JIANAN17 opened this issue Dec 26, 2018 · 3 comments

Comments

@JIANAN17
Copy link

Hi, I met some difficulties about multiprocessing. When the num_processes is changed to more than 1, the assignment of tasks among the workers has something wrong. Do you have any idea about this issue?

@eduOS
Copy link

eduOS commented Jan 6, 2019

I don't think this is a good question since there are no details in it.

@JIANAN17
Copy link
Author

I don't think this is a good question since there are no details in it.

I'm sorry for the unclear description. The problem is that if the num_processes is set as more than 1, the training process won't stop when the trained word percent (global_word_count.value/vocab.word_count) is 100%. In normal circumstances, the training is finished when it is 100%.

@luckystar1992
Copy link

luckystar1992 commented Dec 10, 2019

@JIANAN17 I think this bug is caused by the readline() code, I think your corpus is contains only one line. For more information, please chat in my issue #9 (comment)

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

3 participants