Table Of Contents
Table Of Contents

get_zip_data

mxnet.test_utils.get_zip_data(data_dir, url, data_origin_name)[source]

Download and extract zip data.

Parameters:
  • data_dir (str) – Absolute or relative path of the directory name to store zip files
  • url (str) – URL to download data from
  • data_origin_name (str) – Name of the downloaded zip file

Examples

>>> get_zip_data("data_dir",
                 "http://files.grouplens.org/datasets/movielens/ml-10m.zip",
                 "ml-10m.zip")