INNER CODE UNIT · Python
get_alignment_annotations
allenai/objaverse-xl · objaverse/xl/__init__.py:44
def get_alignment_annotations(
download_dir: str = "~/.objaverse", refresh: bool = False
) -> pd.DataFrame:
"""Loads the 3D object metadata for the objects used during alignment fine-tuning.
Args:
download_dir (str, optional): Directory to download the parquet metadata
file. Supports all file systems supported by fsspec. Defaults to
"~/.objaverse".
refresh (bool, optional): Whether to refresh the annotations by downloading
them from the remote source. Defaults to False.
Returns:
pd.DataFrame: Metadata of the 3D objects as a Pandas DataFrame with columns
for the object "fileIdentifier", "license", "source", "fileType",
"sha256", and "metadata".
"""
annotations = [