construct_env_configs(config: Config, allow_scene_repeat: bool = False) -> List[Config]
Create list of Habitat Configs for training on multiple processes To allow better performance, dataset are split into small ones for each individual env, grouped by scenes.
- config : configs that contain num_processes as well as information necessary to create individual environments.
- allow_scene_repeat: if
Trueand the number of distinct scenes in the dataset is less than the total number of processes this will result in scenes being repeated across processes. If
False, then if the total number of processes is greater than the number of scenes, this will result in a RuntimeError exception being raised.
List of Configs, one for each process.