code: def bbox_assigner(self, num_classes):
      return BBoxAssigner(
          batch_size_per_im=512,
          bbox_reg_weights=[0.1, 0.1, 0.2, 0.2],
          bg_thresh_hi=0.5,
          bg_thresh_lo=0.0,
          fg_fraction=0.25,
          fg_thresh=0.5,
          class_nums=num_classes,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import ast
  import argparse
  from collections import OrderedDict
  from functools import partial
  from math import ceil
  import numpy
  import paddle.fluid
  import paddlehub
  from paddlehub.module.module import moduleinfo, runnable, serving
  from paddle.fluid.core import PaddleTensor, AnalysisConfig, create_paddle_predictor
  from paddlehub.io.parser import txt_parser
  from paddlehub.common.paddle_helper import add_vars_prefix
  from faster_rcnn_resnet50_fpn_venus.processor import load_label_info, postprocess, base64_to_cv2
  from faster_rcnn_resnet50_fpn_venus.data_feed import test_reader, padding_minibatch
  from faster_rcnn_resnet50_fpn_venus.fpn import FPN
  from faster_rcnn_resnet50_fpn_venus.resnet import ResNet
  from faster_rcnn_resnet50_fpn_venus.rpn_head import AnchorGenerator, RPNTargetAssign, GenerateProposals, FPNRPNHead
  from faster_rcnn_resnet50_fpn_venus.bbox_head import MultiClassNMS, BBoxHead, TwoFCHead
  from faster_rcnn_resnet50_fpn_venus.bbox_assigner import BBoxAssigner
  from faster_rcnn_resnet50_fpn_venus.roi_extractor import FPNRoIAlign
label_desc: Use image node_id 6 for calling the FasterRCNNResNet50RPN obj's underlying member method code with example usage: obj.bbox_assigner(num_classes) and returns: BBoxAssigner