code: def download_label_map(out_dir):
      log.info(
          "Downloading ScanNet "
          + RELEASE_NAME
          + " label mapping file..."
      )
      files = [LABEL_MAP_FILE]
      for file in files:
          url = BASE_URL + RELEASE_TASKS + "/" + file
          localpath = os.path.join(out_dir, file)
          localdir = os.path.dirname(localpath)
          if not os.path.isdir(localdir):
              os.makedirs(localdir)
          download_file(url, localpath)
      log.info(
          "Downloaded ScanNet " + RELEASE_NAME + " label mapping file."
      )
  
imports: import os
  import os.path
  import shutil
  import json
  import torch
  from glob import glob
  import sys
  import csv
  import logging
  import numpy
  from plyfile import PlyData, PlyElement
  from torch_geometric.data import Data, InMemoryDataset, download_url, extract_zip
  import torch_geometric.transforms
  import multiprocessing
  import pandas
  import tempfile
  import urllib
  from urllib.request import urlopen
  from torch_points3d.datasets.base_dataset import BaseDataset
  import torch_points3d.core.data_transform
  from .None import IGNORE_LABEL
label_desc: Use image node_id 5 for calling a global function with example usage: download_label_map(out_dir) without return types