datamodules.Classification.utils package

Submodules

datamodules.Classification.utils.image_analytics module

get_analytics_data_image_folder(input_path: Path) Dict[str, Any][source]

Computes mean and std of the images in the input_path folder.

Parameters:

input_path (Path) – Path to the root of the dataset

Returns:

Dictionary with mean and std

Return type:

Dict[str, Any]

datamodules.Classification.utils.misc module

validate_path_for_classification(data_dir: str) Path[source]

Checks if the path is valid for classification

Parameters:

data_dir (str) – path to the root dir of the dataset

Returns:

path to the root dir of the dataset

Return type:

Path

Module contents