although the ids is split into `train` and `val`, you are always sampling from the whole ids
although the ids is split into
trainandval, you are always sampling from the whole ids