added generate sampling by semgentation model