code: def test_eval_semantic_segmentation(self):
      result = eval_semantic_segmentation(
          self.pred_labels, self.gt_labels
      )
      np.testing.assert_equal(result["iou"], self.iou)
      np.testing.assert_equal(
          result["pixel_accuracy"], self.pixel_accuracy
      )
      np.testing.assert_equal(
          result["class_accuracy"], self.class_accuracy
      )
  
      np.testing.assert_equal(result["miou"], np.nanmean(self.iou))
      np.testing.assert_equal(
          result["mean_class_accuracy"], np.nanmean(self.class_accuracy)
      )
  
file_path: chainercv/tests/evaluations_tests/test_eval_semantic_segmentation.py
imports: from __future__ import division
  import unittest
  import numpy
  from chainercv.evaluations import calc_semantic_segmentation_confusion
  from chainercv.evaluations import calc_semantic_segmentation_iou
  from chainercv.evaluations import eval_semantic_segmentation
  from chainercv.utils import testing
label_desc: Use image node_id 1 for calling the TestEvalSemanticSegmentation obj's underlying member method code with example usage: obj.test_eval_semantic_segmentation() without return types