facebookresearch / DomainBed

DomainBed is a suite to test domain generalization algorithms
MIT License
1.42k stars 299 forks source link

About the implementation of GroupDRO #36

Closed zdhNarsil closed 3 years ago

zdhNarsil commented 3 years ago

In this line, why the loss is divided by len(minibatches)? The self.q has already been normalized.

lopezpaz commented 3 years ago

Fixed, thanks!