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

fix the bug that the pool for shuffle is too small. #589

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

lcy-seso
Copy link
Collaborator

imdb 数据集的shuffle被删除,前2w5 为正例,如果shuffle的pool小于这个数目,一个batch取到的全部都是正例或者负例。

@lcy-seso lcy-seso requested a review from JiayiFeng January 23, 2018 00:42
Copy link
Collaborator

@JiayiFeng JiayiFeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lcy-seso lcy-seso merged commit 56f7614 into PaddlePaddle:develop Jan 23, 2018
@lcy-seso lcy-seso deleted the fix_text_classification branch August 21, 2018 06:58
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

Successfully merging this pull request may close these issues.

2 participants