The code for paper "Invariant-Features-Learning-based-on-Causal-Inference-from-Heterogenous-Environments".
The colored-mnist data set can be generated from https://github.com/facebookresearch/InvariantRiskMinimization. In order to be fair, we deleted the disturbance in our experimental data。
The real world data set NICO can be downloaded from https://www.dropbox.com/sh/8mouawi5guaupyb/AAD4fdySrA6fn3PgSmhKwFgva?dl=0.