test - OpenAOI/anodet GitHub Wiki
Provides functions for testing trained models on images and whole datasets.
visualize_eval_data(image_classifications_target: np.ndarray, masks_target: np.ndarray, image_scores: np.ndarray, score_maps: np.ndarray) -> None
Visualize image and pixel level results from eval_data.
visualize_eval_pair(target: np.ndarray, prediction: np.ndarray) -> None
Visualize results of binary prediction.
optimal_threshold(target: np.ndarray, prediction: np.ndarray) -> Tuple[Any, Any, Any]
Calculate optimal threshold for binary prediction.