Semi-supervised domain generalization with evolving intermediate domain