code: def download_zip_from_google_drive(download_dir, file_id):
      # directory check
      os.makedirs(download_dir, exist_ok=True)
      tmpzip = join(download_dir, "tmp.zip")
  
      # download zip file from google drive via wget
      cmd = [
          "wget",
          "https://drive.google.com/uc?export=download&id=%s" % file_id,
          "-O",
          tmpzip,
      ]
      subprocess.run(cmd, check=True)
  
      try:
          # unzip downloaded files
          cmd = ["unzip", tmpzip, "-d", download_dir]
          subprocess.run(cmd, check=True)
      except subprocess.CalledProcessError:
          # sometimes, wget from google drive is failed due to virus check confirmation
          # to avoid it, we need to do some tricky processings
          # see
          # https://stackoverflow.com/questions/20665881/direct-download-from-google-drive-using-google-drive-api
          out = subprocess.check_output(
              "curl -c /tmp/cookies "
              '"https://drive.google.com/uc?export=download&id=%s"'
              % file_id,
              shell=True,
          )
          out = out.decode("utf-8")
          dllink = "https://drive.google.com{}".format(
              re.findall(
                  r'<a id="uc-download-link" [^>]* href="([^"]*)">', out
              )[0].replace("&amp;", "&")
          )
          subprocess.call(
              f'curl -L -b /tmp/cookies "{dllink}" > {tmpzip}',
              shell=True,
          )  # NOQA
          cmd = ["unzip", tmpzip, "-d", download_dir]
          subprocess.run(cmd, check=True)
  
      # get model file path
      cmd = ["find", download_dir, "-name", "model.*.best"]
      cmd_state = subprocess.run(
          cmd, stdout=subprocess.PIPE, check=True
      )
  
      return cmd_state.stdout.decode("utf-8").split("\n")[0]
  
file_path: espnet/test/test_e2e_compatibility.py
imports: from __future__ import print_function
  import importlib
  import os
  import re
  import shutil
  import subprocess
  import tempfile
  from os.path import join
  import chainer
  import numpy
  import pytest
  import torch
  from espnet.asr.asr_utils import chainer_load, get_model_conf, torch_load
label_desc: Use image node_id 1 for calling a global function with example usage: download_zip_from_google_drive(download_dir, file_id) and returns: cmd_state