neodroidvision.data.segmentation.clouds.CloudSegmentationDataset¶
- class neodroidvision.data.segmentation.clouds.CloudSegmentationDataset(csv_path: Path, image_data_path: Path, subset: SplitEnum = SplitEnum.training, transp=True, N_FOLDS=10, SEED=246232)[source]¶
Bases:
Dataset
description
- __init__(csv_path: Path, image_data_path: Path, subset: SplitEnum = SplitEnum.training, transp=True, N_FOLDS=10, SEED=246232)[source]¶
Methods
__init__
(csv_path, image_data_path[, ...])fetch_masks
(image_name)Create mask based on df, image name and shape.
no_info_mask
(img)- param img
Wrapper for visualize function.
Returns:
Add paddings to make image shape divisible by 32
visualise
(image, mask[, original_image, ...])Plot image and masks.
visualise_prediction
(processed_image, ...[, ...])Plot image and masks.
Attributes
categories
image_size
image_size_T
mean
predictor_channels
predictors_shape
predictors_shape_T
response_channels
response_shape
response_shape_T
std