code: def testInvalidValues(self):
      # Should fail because base_size is too small to for that scale and
      # ratio.
      base_size = 1
      aspect_ratios = [0.5]
      scales = [0.5]
      try:
          generate_anchors_reference(
              base_size=base_size,
              aspect_ratios=aspect_ratios,
              scales=scales,
          )
      except ValueError:
          return
  
      self.fail("Should have thrown an exception.")
  
file_path: luminoth/luminoth/utils/anchors_test.py
imports: import numpy
  import tensorflow
  from luminoth.utils.anchors import generate_anchors_reference
label_desc: Use image node_id 4 for calling the AnchorsTest obj's underlying member method code with example usage: obj.testInvalidValues() without return types