os.sep.join(["regression", "gp", "TrainGP"])

This should be done whenever dealing with paths from python