code: def build(opt):
      dpath = os.path.join(opt["datapath"], "cmu_dog")
      version = "1.2"
      if not build_data.built(dpath, version):
          print("[building data: " + dpath + "]")
          if build_data.built(dpath):
              # An older version exists, so remove these outdated files.
              build_data.remove_dir(dpath)
          build_data.make_dir(dpath)
  
          # Download the data.
          for downloadable_file in RESOURCES:
              downloadable_file.download_file(dpath)
  
          move_unzipped_files_up(dpath)
          consolidate_wiki_data(dpath)
          consolidate_convos(dpath)
          build_deduped_split(dpath)
          split_into_seen_unseen(dpath)
  
          build_data.mark_done(dpath, version)
  
file_path: ParlAI/parlai/tasks/cmu_dog/build.py
imports: import json
  import os
  import random
  import shutil
  from tqdm import tqdm
  import parlai.core.build_data
  from parlai.core.build_data import DownloadableFile
  from parlai.utils.io import PathManager
  from parlai.utils.logging import logger
label_desc: Use image node_id 1 for calling a global function with example usage: build(opt) without return types