def load_label_dict(labeldict_pth):
    """Load label dictionary

    Args:
        labeldict_pth: path to the label description

    Return:
        lbl_dict: label dictionary {lbl_name: lbl_id}
        inv_lbl_dict: inverse label dictionary {lbl_id, lbl_name}
    """
    lbl_list = open(labeldict_pth).read().splitlines()
    lbl_dict = {}
    inv_lbl_dict = {}
    for i in range(len(lbl_list)):
        lbl_dict[lbl_list[i]] = i
        inv_lbl_dict[i] = lbl_list[i]
    return lbl_dict, inv_lbl_dict