Dynamic Flows on Curved Space Generated by Labeled Data