code: def download_file(url, filepath, description=""):
      head_response = requests.head(url)
      filesize = int(head_response.headers["content-length"])
  
      response = requests.get(url, stream=True)
      chunk_size = int(1e7)
  
      n_iter = (filesize // chunk_size) + 1
  
      print(description)
      print("URL: {}".format(url))
      with open(filepath, "wb") as handle:
          for data in tqdm(
              response.iter_content(chunk_size), total=n_iter
          ):
              handle.write(data)
  
      print("Downloaded sucessfully")
  
file_path: neupy/examples/cnn/imagenet_tools.py
imports: from __future__ import division
  import os
  import requests
  from tqdm import tqdm
  import numpy
  from imageio import imread
  from skimage import transform
  from neupy.utils import asfloat
label_desc: Use image node_id 1 for calling a global function with example usage: download_file(url, filepath, description) without return types