def get_classes(classes_file='../data/ucf101/classInd.txt'):
    """
    Loads a text file with class->id mapping
    
    Parameters
    ----------
    classes_file : str, optional
        File path to class->id mapping text file, by default '../data/ucf101/classInd.txt'
    
    Returns
    -------
    dict
        Dictionary of class names and numeral id
        Example: {'Class1': 1, 'Class2': 2}
    """
    with open(classes_file, 'r') as f:
        classes = f.readlines()
        classes = map(lambda cls: cls.replace('\n','').split(' '), classes)
        classes = dict(map(lambda cls: (cls[1], int(cls[0])), classes))
    return classes