class_docstr: Semantic Segmentation pretrained models are inherited from this class
  so that it provides some common interfaces.
code: def use_up_to(self, key, callback, **variable_format_dict):
      if key not in self._KEY_VARIABLE:
          raise ValueError(
              'The key "{}" is not present in {}. Available keys are {}.'.format(
                  key,
                  self.__class__.__name__,
                  list(self._KEY_VARIABLE.keys()),
              )
          )
      callback.use_up_to(
          self._KEY_VARIABLE[key].format(**variable_format_dict)
      )
  
file_path: nnabla/python/src/nnabla/models/semantic_segmentation/base.py
imports: from __future__ import absolute_import
  from nnabla.utils.nnp_graph import NnpLoader
  from ..utils import *
label_desc: Use image node_id 5 for calling the SemanticSegmentation obj's underlying member method code with example usage: obj.use_up_to(key, callback) without return types