sem_seg/vis.py
def vis_masks(
    image_files: List[str],
    colormap_files: List[str],
    out_paths: List[str],
    nproc: int = NPROC,
) -> None:
    """Visualize bitmasks for a list of images."""
    logger.info("Visualizing bitmasks...")

    with Pool(nproc) as pool:
        pool.starmap(
            partial(vis_mask),
            tqdm(
                zip(image_files, colormap_files, out_paths),
                total=len(image_files),
            ),
        )
Visualize bitmasks for a list of images.
Visualize bitmasks for a list of images.
Visualize bitmasks for a list of images .
def vis_masks(
    image_files: List[str],
    colormap_files: List[str],
    out_paths: List[str],
    nproc: int = NPROC,
) -> None:
    logger.info("Visualizing bitmasks...")
    with Pool(nproc) as pool:
        pool.starmap(
            partial(vis_mask),
            tqdm(
                zip(image_files, colormap_files, out_paths),
                total=len(image_files),
            ),
        )
def vis_masks ( image_files : List [ str ] , colormap_files : List [ str ] , out_paths : List [ str ] , nproc : int = NPROC , ) -> None : logger . info ( "Visualizing bitmasks..." ) with Pool ( nproc ) as pool : pool . starmap ( partial ( vis_mask ) , tqdm ( zip ( image_files , colormap_files , out_paths ) , total = len ( image_files ) , ) , )
Visualize bitmasks for a list of images.
Visualize bitmasks for a list of images .
"""Visualize bitmasks for a list of images."""
image_files
List[str]
colormap_files
List[str]
out_paths
List[str]
nproc
int