def init_attr_stat_info(ATTRIBUTES, CLASSES):
    """
    根据属性和类别列表初始化信息统计字典
    Args:
        ATTRIBUTES = ['colors', 'types']
        CLASSES = [
            ["red", "green", "blue"], 
            ["car", "suv", "truck"],
        ]
    Returns:
        stat_info = {
            'BASIC_INFO': {
                'NUM_ATTRIBUTES': len(ATTRIBUTES),
                'NUM_CLASSES': {'colors': 3, 'types': 3}
            },
            'CLASS_INFO' = {
                'colors': {
                    'red': 0,
                    'green': 0,
                    'blue': 0,
                },
                'types': {
                    'suv': 0,
                    'car': 0,
                    'van': 0,
                },
            },
            'TOTAL_INFO': None
        }
    """
    stat_info = {
        'BASIC_INFO': {
            'NUM_ATTRIBUTES': len(ATTRIBUTES),
            'NUM_CLASSES': {
                attr: len(CLASSES[i]) for i, attr in enumerate(ATTRIBUTES)
            }
        },
        'TOTAL_INFO': None
    }
    cls_info = []
    for i in range(len(ATTRIBUTES)):
        classes = CLASSES[i]
        numbers = [0 for _ in range(len(classes))]
        cls_info.append(dict(zip(classes, numbers)))
    stat_info.update({'CLASS_INFO': dict(zip(ATTRIBUTES, cls_info))})

    return stat_info