Error: Ground truth kitti labels should only have 15 fields

Thanks for your response. Do you have a recommendation for how we can check all the files have 15 fields? This is the code we are currently using:

import os, re
rootdir = "/workspace/maskrcnn_experiment/yolo/Shoe_Data/training/label_2"
for subdir, dirs, files in os.walk(rootdir) : 
    for file in files : 
        if file.endswith('.txt') :
            dir = os.path.join(subdir, file)
            data = open(dir,'r').read().replace('\n', '')
            x = re.split(" ", data)
            print(x)
            print(len(x))