try writing your yaml file like below:
path: /data/dataset_split train: train/images val: val/images names: 0: Person 1: CellPhone
and also double check your txt files in labels folder; see if they are in the correct format.