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

remove num_iters in preciseBN #27

Closed
wants to merge 2 commits into from

Conversation

huangjun12
Copy link
Collaborator

@huangjun12 huangjun12 commented Dec 29, 2020

pr内容:

移除preciseBN中的num_iters参数,默认用所有训练数据做preciseBN
原因:
(1) dataloader bug: 迭代器未迭代完,进程数不释放,最终导致进程数过多影响训练;
(2) 全量数据做preciseBN理论上对精度有提升效果,但训练耗时会有所增加。

待dataloader bug修复后可重新添加...

@huangjun12 huangjun12 closed this Dec 29, 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.

1 participant