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

每次test结果都不同?怎么让它每次test一定呢? #1

Open
CHASEXI opened this issue Sep 25, 2019 · 3 comments
Open

每次test结果都不同?怎么让它每次test一定呢? #1

CHASEXI opened this issue Sep 25, 2019 · 3 comments

Comments

@CHASEXI
Copy link

CHASEXI commented Sep 25, 2019

初步分析是model.get_sequence_output()每次获取的句向量都不同引起的,怎么解决呢?

@zlhcsm
Copy link

zlhcsm commented Apr 1, 2020

设置唯一的随机种子

@zengzhixian1995
Copy link

config.is_training = False

@frederic89
Copy link

同求设置seed来固定随机性

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

4 participants