code: def download_datasets(root, url):
      """
      Download the Imagenet-R dataset archives and expand them
      in the folder provided as parameter
      """
      download_and_extract_archive(url=url, download_root=root)
  
imports: import os
  from pathlib import Path
  from omegaconf import OmegaConf
  from lavis.common.utils import cleanup_dir, download_and_extract_archive, get_abs_path, get_cache_path
label_desc: Use image node_id 1 for calling a global function with example usage: download_datasets(root, url) without return types