nnsvs.train_util.get_data_loaders

nnsvs.train_util.get_data_loaders(data_config, collate_fn, logger)[source]

Get data loaders for training and validation.

Parameters:
  • data_config (dict) – Data configuration.

  • collate_fn (callable) – Collate function.

  • logger (logging.Logger) – Logger.

Returns:

Data loaders.

Return type:

dict