code: def main(argv):
      del argv
      tf.app.flags.mark_flags_as_required(["examples_path"])
      data_fn = functools.partial(
          data.provide_batch, examples=FLAGS.examples_path
      )
      additional_trial_info = {"examples_path": FLAGS.examples_path}
      run(
          config_map=configs.CONFIG_MAP,
          data_fn=data_fn,
          additional_trial_info=additional_trial_info,
      )
  
file_path: magenta/magenta/models/onsets_frames_transcription/onsets_frames_transcription_train.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  from magenta.models.onsets_frames_transcription import configs
  from magenta.models.onsets_frames_transcription import data
  from magenta.models.onsets_frames_transcription import train_util
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling a global function with example usage: main(argv) without return types