code: def setUp(self):
      feat_size = (self.img_size[0] // 16, self.img_size[1] // 16)
      n_anchor = np.int32(self.n_anchor_base * np.prod(feat_size))
  
      self.score = np.random.uniform(
          low=0, high=1, size=(n_anchor,)
      ).astype(np.float32)
      self.bbox_d = np.random.uniform(
          low=-1, high=1.0, size=(n_anchor, 4)
      ).astype(np.float32)
      self.anchor = generate_random_bbox(
          n_anchor, self.img_size, 16, 200
      )
      self.proposal_creator = ProposalCreator(
          n_train_post_nms=self.n_train_post_nms,
          n_test_post_nms=self.n_test_post_nms,
          min_size=0,
      )
  
file_path: chainercv/tests/links_tests/model_tests/faster_rcnn_tests/utils_tests/test_proposal_creator.py
imports: import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import testing
  from chainer.testing import attr
  from chainercv.links.model.faster_rcnn import ProposalCreator
  from chainercv.utils import generate_random_bbox
label_desc: Use image node_id 1 for calling the TestProposalCreator obj's underlying member method code with example usage: obj.setUp() without return types