docstr: Called after preprocessing, but before the creation of the model and trainer objects.
  
  :param base_config: The user-specified config, before the insertion of defaults or inferred values.
  :param experiment_directory: The experiment directory, same as output_directory if no experiment specified.
  :param experiment_name: The experiment name.
  :param model_name: The model name.
  :param output_directory: file path to where training results are stored.
  :param resume_directory: model directory to resume training from, or None.
docstr_tok: ["Called","after","preprocessing",",","but","before","the","creation","of","the","model","and","trainer","objects",".",":","param","base_config",":","The","user-specified","config",",","before","the","insertion","of","defaults","or","inferred","values",".",":","param","experiment_directory",":","The","experiment","directory",",","same","as","output_directory","if","no","experiment","specified",".",":","param","experiment_name",":","The","experiment","name",".",":","param","model_name",":","The","model","name",".",":","param","output_directory",":","file","path","to","where","training","results","are","stored",".",":","param","resume_directory",":","model","directory","to","resume","training","from",",","or","None","."]
code: def on_train_init(
      self,
      base_config: ModelConfigDict,
      experiment_directory: str,
      experiment_name: str,
      model_name: str,
      output_directory: str,
      resume_directory: Union[str, None],
  ):
      """Called after preprocessing, but before the creation of the model and trainer objects.
  
      :param base_config: The user-specified config, before the insertion of defaults or inferred values.
      :param experiment_directory: The experiment directory, same as output_directory if no experiment specified.
      :param experiment_name: The experiment name.
      :param model_name: The model name.
      :param output_directory: file path to where training results are stored.
      :param resume_directory: model directory to resume training from, or None.
      """
      pass
  
imports: from abc import ABC
  from typing import Any, Callable, Dict, List, Union
  from ludwig.api_annotations import PublicAPI
  from ludwig.types import HyperoptConfigDict, ModelConfigDict, TrainingSetMetadataDict
label_desc: Use image node_id 14 for calling the Callback obj's underlying member method code with example usage: obj.on_train_init(base_config, experiment_directory, experiment_name, model_name, output_directory, resume_directory) without return types