def load_bdd_annotations(json_path):
    """Loads the BDD annotations from the given JSON file.

    See :ref:`this page <BDDDataset-import>` for format details.

    Args:
        json_path: the path to the annotations JSON file

    Returns:
        a dict mapping filenames to BDD annotation dicts
    """
    annotations = etas.load_json(json_path)
    return {d["name"]: d for d in annotations}
Loads the BDD annotations from the given JSON file.

    See :ref:`this page <BDDDataset-import>` for format details.

    Args:
        json_path: the path to the annotations JSON file

    Returns:
        a dict mapping filenames to BDD annotation dicts
    
fiftyone/utils/bdd.py