"""init file""" from .multitask_dataset import MultiTaskDataset from .dronescapes_representations import DepthRepresentation, OpticalFlowRepresentation, SemanticRepresentation _color_map=[[0, 255, 0], [0, 127, 0], [255, 255, 0], [255, 255, 255], [255, 0, 0], [0, 0, 255], [0, 255, 255], [127, 127, 63]] dronescapes_task_types = { # some pre-baked representations "depth_dpt": DepthRepresentation("depth_dpt", min_depth=0, max_depth=0.999), "depth_sfm_manual202204": DepthRepresentation("depth_sfm_manual202204", min_depth=0, max_depth=300), "opticalflow_rife": OpticalFlowRepresentation, "semantic_segprop8": SemanticRepresentation("semantic_segprop8", classes=8, color_map=_color_map), "semantic_mask2former_swin_mapillary_converted": SemanticRepresentation("semantic_mask2former_swin_mapillary_converted", classes=8, color_map=_color_map)}