class_docstr: A property that is only computed once per instance and then replaces itself with an ordinary attribute.
  
  The implementation refers to https://github.com/pydanny/cached-property/blob/master/cached_property.py .
      Note that this implementation does NOT work in multi-thread or coroutine senarios.
class_docstr_tok: ["A","property","that","is","only","computed","once","per","instance","and","then","replaces","itself","with","an","ordinary","attribute",".","The","implementation","refers","to","https",":","\/\/github.com\/pydanny\/cached-property\/blob\/master\/cached_property.py",".","Note","that","this","implementation","does","NOT","work","in","multi-thread","or","coroutine","senarios","."]
code: def __init__(self, func):
      super().__init__()
      self.func = func
      self.__doc__ = getattr(func, "__doc__", "")
  
imports: import os
  import contextlib
  import tempfile
  import random
  from urllib.parse import urlparse, unquote
  import yaml
  import numpy
  import paddle
  import cv2
  from paddleseg.utils import logger, seg_env, get_sys_env
  from paddleseg.utils.download import download_file_and_uncompress
label_desc: Use image node_id 1 to create a new CachedProperty object from inherited base classes: object with example: obj = CachedProperty(func)