test - OpenAOI/anodet GitHub Wiki

Table of Contents

test

Provides functions for testing trained models on images and whole datasets.

visualize_eval_data

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

visualize_eval_pair(target: np.ndarray, prediction: np.ndarray) -> None

Visualize results of binary prediction.

optimal_threshold

optimal_threshold(target: np.ndarray, prediction: np.ndarray) -> Tuple[Any, Any, Any]

Calculate optimal threshold for binary prediction.

⚠️ **GitHub.com Fallback** ⚠️