tfds.download.Resource

Represents a resource to download, extract, or both.

url The URL at which to download the resource.
extract_method ExtractMethod to be used to extract resource. If not set, will be guessed from downloaded file name original_fname.
path Path of resource on local disk. Can be None if resource has not be downloaded yet. In such case, url must be set.
relative_download_dir Optional directory for downloading relative to download_dir.

extract_method Returns ExtractMethod to use on resource.
url Returns the URL at which to download the resource.