code: def on_interrupt(self, *args):
      print("")
  
      print("TRAINING INTERRUPTED!")
  
      print("")
  
      print("TO ADD YOUR MODEL IN YOUR GAME AGENT PLUGIN:")
      print(
          "Copy the 'object_recognition' directory in 'datasets' to your game agent's 'ml_models' directory"
      )
      print(
          f"Copy 'classes.json', 'luminoth.yml' and optionally 'train.tfrecords' in 'datasets' to your game agent's 'ml_models/object_recognition/{self.name}' directory"
      )
  
      print("")
  
      print("TO RESUME TRAINING LATER:")
      print(
          "Leave everything where it is and run the same 'serpent train object' command"
      )
  
      print("")
  
      import sys
  
      sys.exit()
  
imports: import os
  import yaml
  import json
  import subprocess
  import shlex
  import time
  import tensorflow
  from luminoth.tools.dataset.readers.object_detection import ObjectDetectionReader
  from luminoth.tools.dataset.writers.object_detection_writer import ObjectDetectionWriter
  from luminoth.tools.checkpoint import get_checkpoint_config
  from luminoth.utils.dataset import read_xml, read_image
  from luminoth.utils.config import get_config
  from luminoth.utils.predicting import PredictorNetwork
  from luminoth.train import run
  from luminoth.predict import predict_image
  from serpent.machine_learning.object_recognition.object_recognizer import ObjectRecognizer
  from serpent.utilities import SerpentError
label_desc: Use image node_id 5 for calling the LuminothObjectRecognizer obj's underlying member method code with example usage: obj.on_interrupt() without return types