update multi-app examples
This commit is contained in:
@@ -66,7 +66,7 @@ from .gimp import (
|
||||
check_triangle_position,
|
||||
check_structure_sim,
|
||||
check_config_status,
|
||||
compare_images,
|
||||
compare_image_list,
|
||||
increase_saturation,
|
||||
decrease_brightness,
|
||||
check_file_exists,
|
||||
|
||||
@@ -4,7 +4,7 @@ from skimage.metrics import structural_similarity as ssim
|
||||
from PIL import Image, ImageChops, ImageStat
|
||||
|
||||
|
||||
def compare_images(pred_img_path_list: Union[str, List[str]],
|
||||
def compare_image_list(pred_img_path_list: Union[str, List[str]],
|
||||
gold_img_path_list: Union[str, List[str]]) -> float:
|
||||
""" Compare two image lists, only if all images are the same, return 1.0, otherwise return 0.0
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user