code: def gen_worker(q_in, q_out):
      while True:
          deq = q_in.get()
          if deq is None:
              break
          _roidb = deq
          data, label = get_crop_batch(_roidb)
          print("generated")
          q_out.put((data, label))
  
imports: from __future__ import print_function
  import sys
  import mxnet
  import numpy
  import random
  import datetime
  import multiprocessing
  import cv2
  from mxnet.executor_manager import _split_input_slice
  from rcnn.config import config
  from rcnn.io.image import tensor_vstack
  from rcnn.io.rpn import get_rpn_testbatch, get_rpn_batch, assign_anchor_fpn, get_crop_batch, AA
label_desc: Use image node_id 6 for calling the CropLoader2 obj's underlying member method code with example usage: obj.gen_worker(q_in, q_out) without return types