code: def clear(dire):
      import shutil
  
      for root, dirs, files in os.walk(dire):
          if ".ipynb_checkpoints" in root:
              shutil.rmtree(root)
  
      for root, dirs, files in os.walk(dire):
          if ".ipynb_checkpoints" in root:
              print(root)
  
file_path: PaddleSeg/tools/data/cityscapes_trainid2labelid.py
imports: import argparse
  import os
  from collections import namedtuple
  import numpy
  from PIL import Image
  from tqdm import tqdm
  from paddleseg.utils import get_image_list
label_desc: Use image node_id 3 for calling a global function with example usage: clear(dire) without return types