code: def console_entry_point():
      tf.disable_v2_behavior()
      tf.app.flags.mark_flags_as_required(
          ["model_dir", "examples_path"]
      )
  
      tf.app.run(main)
  
file_path: magenta/magenta/models/onsets_frames_transcription/onsets_frames_transcription_infer.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from magenta.models.onsets_frames_transcription import configs
  from magenta.models.onsets_frames_transcription import data
  from magenta.models.onsets_frames_transcription import infer
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling a global function with example usage: console_entry_point() without return types