Coverage Control Library
|
Dataset for hybrid CNN-GNN training. More...
Public Member Functions | |
__init__ (self, data_dir, stage, use_comm_map, world_size) | |
len (self) | |
get (self, idx) | |
Public Attributes | |
stage = stage | |
maps = DataLoaderUtils.load_maps(f"{data_dir}/{stage}", use_comm_map) | |
dataset_size = self.maps.shape[0] | |
targets | |
targets_mean | |
tuple | targets_std |
edge_weights = DataLoaderUtils.load_edge_weights(f"{data_dir}/{stage}") | |
tuple | robot_positions |
Dataset for hybrid CNN-GNN training.
Definition at line 100 of file loaders.py.
__init__ | ( | self, | |
data_dir, | |||
stage, | |||
use_comm_map, | |||
world_size ) |
Definition at line 102 of file loaders.py.
get | ( | self, | |
idx ) |
Definition at line 131 of file loaders.py.
len | ( | self | ) |
Definition at line 128 of file loaders.py.
dataset_size = self.maps.shape[0] |
Definition at line 108 of file loaders.py.
edge_weights = DataLoaderUtils.load_edge_weights(f"{data_dir}/{stage}") |
Definition at line 113 of file loaders.py.
maps = DataLoaderUtils.load_maps(f"{data_dir}/{stage}", use_comm_map) |
Definition at line 107 of file loaders.py.
tuple robot_positions |
Definition at line 115 of file loaders.py.
stage = stage |
Definition at line 105 of file loaders.py.
targets |
Definition at line 110 of file loaders.py.
targets_mean |
Definition at line 110 of file loaders.py.
tuple targets_std |
Definition at line 110 of file loaders.py.