def dataset_statics(train_list_path):
    """ 统计每一个id含有多少张图片
    :param train_list_path: 存储全部数据集对应的id的txt文件；类型为str
    :return id_numbers: 每一个id含有多少张图片，类型为dict
    """
    id_numbers = dict()
    with open(train_list_path) as fread:
        for line in fread.readlines():
            pic_name, label = line.strip().split(' ')
            label = eval(label)
            if not id_numbers.__contains__(label):
                id_numbers[label] = 0
            id_numbers[label] += 1
    return id_numbers