Description Usage Arguments Value
Passing the MD5 hash will verify the file after download as well as if it is already present in the cache.
1 2 3 4 5 6 7 8 9 10 |
fname |
Name of the file. If an absolute path |
origin |
Original URL of the file. |
file_hash |
The expected hash string of the file after download. The sha256 and md5 hash algorithms are both supported. |
cache_subdir |
Subdirectory under the Keras cache dir where the file is
saved. If an absolute path |
hash_algorithm |
Select the hash algorithm to verify the file. options are 'md5', 'sha256', and 'auto'. The default 'auto' detects the hash algorithm in use. |
extract |
True tries extracting the file as an Archive, like tar or zip. |
archive_format |
Archive format to try for extracting the file. Options are 'auto', 'tar', 'zip', and None. 'tar' includes tar, tar.gz, and tar.bz files. The default 'auto' is ('tar', 'zip'). None or an empty list will return no matches found. |
cache_dir |
Location to store cached files, when |
Path to the downloaded file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.