INNER CODE UNIT · Python

render_objects

allenai/objaverse-xl · scripts/rendering/main.py:341

def render_objects(
    render_dir: str = "~/.objaverse",
    download_dir: Optional[str] = None,
    num_renders: int = 12,
    processes: Optional[int] = None,
    save_repo_format: Optional[Literal["zip", "tar", "tar.gz", "files"]] = None,
    only_northern_hemisphere: bool = False,
    render_timeout: int = 300,
    gpu_devices: Optional[Union[int, List[int]]] = None,
) -> None:
    """Renders objects in the Objaverse-XL dataset with Blender

    Args:
        render_dir (str, optional): Directory where the objects will be rendered.
        download_dir (Optional[str], optional): Directory where the objects will be
            downloaded. If None, the objects will not be downloaded. Defaults to None.
        num_renders (int, optional): Number of renders to save of the object. Defaults
            to 12.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…