code: def maybe_download(dataset_root):
      if not dataset_root or not os.path.exists(
          os.path.join(dataset_root, "AgentHuman")
      ):
          screen.log_title(
              "Downloading the CARLA dataset. This might take a while."
          )
  
          google_drive_download_id = "1hloAeyamYn-H6MfV1dRtY1gJPhkR55sY"
          filename_to_save = (
              "datasets/CORL2017ImitationLearningData.tar.gz"
          )
          download_command = (
              'wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm='
              "$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies "
              '--no-check-certificate "https://docs.google.com/uc?export=download&id={}" -O- | '
              "sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id={}\" -O {} && rm -rf /tmp/cookies.txt".format(
                  google_drive_download_id,
                  google_drive_download_id,
                  filename_to_save,
              )
          )
  
          # start downloading and wait for it to finish
          start_shell_command_and_wait(download_command)
  
          screen.log_title("Unzipping the dataset")
          unzip_command = "tar -xzf {} --checkpoint=.10000".format(
              filename_to_save
          )
          if dataset_root is not None:
              unzip_command += " -C {}".format(dataset_root)
  
          if not os.path.exists(dataset_root):
              os.makedirs(dataset_root)
          start_shell_command_and_wait(unzip_command)
  
file_path: coach/rl_coach/utilities/carla_dataset_to_replay_buffer.py
imports: import argparse
  import os
  import sys
  import h5py
  import numpy
  from rl_coach.core_types import Transition
  from rl_coach.memories.memory import MemoryGranularity
  from rl_coach.memories.non_episodic.experience_replay import ExperienceReplay
  from rl_coach.utils import ProgressBar, start_shell_command_and_wait
  from rl_coach.logger import screen
label_desc: Use image node_id 1 for calling a global function with example usage: maybe_download(dataset_root) without return types