Paddle3D icon indicating copy to clipboard operation
Paddle3D copied to clipboard

fix the bug where convert bn to sync_bn in the model for evaluation during the training phase will change the training model graph

Open FlyingQianMM opened this issue 2 years ago • 1 comments

The origin implementation converts bn to sync_bn in the model for evaluation during the multi-gpu training phase, which is not necessarily and changes the training model graph, causes the gradient of multi-gpu cannot be gathered during later training backward:

image

so we remove the convertion.

FlyingQianMM avatar Apr 04 '23 06:04 FlyingQianMM

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Sep 30 '24 03:09 CLAassistant

Automatically closed by Paddle-bot.

paddle-bot[bot] avatar Oct 07 '25 06:10 paddle-bot[bot]