You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In update_bn_stats, different ranks have different batch_size as it's not synchronized, resulting in different bn_stats on different ranks after PreciseBN hook.
please simplify the steps as much as possible so they do not require additional resources to
run, such as a private dataset.
no private dataset
Expected behavior:
Same bn_stats after PreciseBN hook.
Environment:
Provide your environment information using the following command:
The text was updated successfully, but these errors were encountered:
guzy0324
changed the title
Different ranks have different bn_stats after PreciseBN hook as precise_bn in fvcore does not synchronize batch_size
Different DDP ranks have different bn_stats after PreciseBN hook as precise_bn in fvcore does not synchronize batch_size
Nov 25, 2024
Instructions To Reproduce the 🐛 Bug:
Full runnable code or full changes you made:
https://github.com/facebookresearch/moco/tree/main/detection
What exact command you run:
Full logs or other relevant observations:
In
update_bn_stats
, different ranks have different batch_size as it's not synchronized, resulting in different bn_stats on different ranks afterPreciseBN
hook.please simplify the steps as much as possible so they do not require additional resources to
run, such as a private dataset.
no private dataset
Expected behavior:
Same bn_stats after
PreciseBN
hook.Environment:
Provide your environment information using the following command:
If your issue looks like an installation issue / environment issue,
please first try to solve it yourself with the instructions in
https://detectron2.readthedocs.io/tutorials/install.html#common-installation-issues
The text was updated successfully, but these errors were encountered: