define training setup with basename and folder