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

Solve elu unitest fail #22123

Merged
merged 12 commits into from
Jan 7, 2020
Merged

Solve elu unitest fail #22123

merged 12 commits into from
Jan 7, 2020

Conversation

LDOUBLEV
Copy link
Contributor

@LDOUBLEV LDOUBLEV commented Jan 7, 2020

设置ELUdouble gradient checker的eps参数为默认的1e-6,解决单测挂的问题
image

@LDOUBLEV LDOUBLEV closed this Jan 7, 2020
@LDOUBLEV LDOUBLEV reopened this Jan 7, 2020
@LDOUBLEV LDOUBLEV closed this Jan 7, 2020
@LDOUBLEV LDOUBLEV reopened this Jan 7, 2020
@LDOUBLEV LDOUBLEV closed this Jan 7, 2020
@LDOUBLEV LDOUBLEV reopened this Jan 7, 2020
@luotao1
Copy link
Contributor

luotao1 commented Jan 7, 2020

从报错的log看,减少eps阈值能解决这个问题?一般阈值越大才越容易过。这个修复有依据么?

@LDOUBLEV
Copy link
Contributor Author

LDOUBLEV commented Jan 7, 2020

从报错的log看,减少eps阈值能解决这个问题?一般阈值越大才越容易过。这个修复有依据么?

本地测试发现,大的eps会报错,增大阈值为0.005后,报错信息如下图,本地测试了1000次0.0001的eps 也没有报错,但是在CI上挂掉了,猜测是随机挂,现在改成了默认的1e-6。
image

@qingqing01 qingqing01 merged commit b9a6354 into PaddlePaddle:develop Jan 7, 2020
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.

3 participants