def load_annotation_config():
    """Loads the FiftyOne annotation config.

    Returns:
        an :class:`AnnotationConfig` instance
    """
    annotation_config_path = locate_annotation_config()
    if os.path.isfile(annotation_config_path):
        return AnnotationConfig.from_json(annotation_config_path)

    return AnnotationConfig()
Loads the FiftyOne annotation config.

    Returns:
        an :class:`AnnotationConfig` instance
    
fiftyone/core/config.py