docstr: Tests we're using minibatch_size correctly when testing.
          
docstr_tok: ["Tests","we","'re","using","minibatch_size","correctly","when","testing","."]
code: def testMinibatchBehaviour(self):
      """Tests we're using minibatch_size correctly when testing."""
  
      rcnn_net = self._shared_model(
          self._pretrained_feature_map_ph,
          self._proposals_ph,
          self._image_shape_ph,
          self._base_network,
          self._gt_boxes_ph,
      )
  
      prediction_dict = self._run_net_with_feed_dict(
          rcnn_net,
          feed_dict={
              self._pretrained_feature_map_ph: np.random.rand(
                  *self._pretrained_feature_map_shape
              ),
              self._proposals_ph: np.random.randint(
                  low=0,
                  high=np.amin(self._image_shape),
                  size=self._proposals_shape,
              ),
              self._image_shape_ph: self._image_shape,
              self._gt_boxes_ph: np.random.randint(
                  low=0,
                  high=np.amin(self._image_shape),
                  size=self._gt_boxes_shape,
              ),
          },
      )
      # Assertions
      self.assertLessEqual(
          prediction_dict["target"]["cls"][
              prediction_dict["target"]["cls"] >= 0
          ].shape[0],
          self._config.target.minibatch_size,
      )
  
file_path: luminoth/luminoth/models/fasterrcnn/rcnn_test.py
imports: import numpy
  import tensorflow
  from easydict import EasyDict
  from luminoth.models.fasterrcnn.rcnn import RCNN
label_desc: Use image node_id 5 for calling the RCNNTest obj's underlying member method code with example usage: obj.testMinibatchBehaviour() without return types