code: def download_dataset(root: str):
      """
      Download the K700 dataset video path, annotations and videos
      """
  
      # Download the video path and the annotations
      for split in ["train", "val"]:
          download_url(
              root=root,
              url=f"https://s3.amazonaws.com/kinetics/700_2020/{split}/k700_2020_{split}_path.txt",
          )
          download_url(
              root=root,
              url=f"https://s3.amazonaws.com/kinetics/700_2020/annotations/{split}.csv",
          )
  
      # Download all the videos and expand the archive
      for split in ["train", "val"]:
          with open(
              os.path.join(root, f"k700_2020_{split}_path.txt")
          ) as f:
              for line in f:
                  video_batch_url = line.strip()
                  split_root = os.path.join(root, split)
                  download_and_extract_archive(
                      url=video_batch_url, download_root=split_root
                  )
  
file_path: vissl/extra_scripts/datasets/create_k700_data_files.py
imports: import argparse
  import os
  from typing import Optional, Tuple
  import numpy
  from PIL import Image
  from torch.utils.data import DataLoader
  from torchvision.datasets.utils import download_url
  from tqdm import tqdm
  from vissl.utils.download import download_and_extract_archive
  from vissl.utils.io import save_file
label_desc: Use image node_id 2 for calling a global function with example usage: download_dataset(root) without return types