diff options
author | Hind-M <hind.montassif@gmail.com> | 2022-05-24 11:46:16 +0200 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2022-05-24 11:46:16 +0200 |
commit | 4d2f5a1c165204765a04594a9f1f6ba9bcb939ba (patch) | |
tree | f1c815ea45ed246c4aad272a0f2493fe56f5eb71 /src | |
parent | dcd4204d62a4c9a4f3d9ebc61341fba25ae19687 (diff) |
Specify in doc the use of cache when fetching datasets with wrapping functions
Diffstat (limited to 'src')
-rw-r--r-- | src/python/gudhi/datasets/remote.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/gudhi/datasets/remote.py b/src/python/gudhi/datasets/remote.py index eac8caf3..d2ae2a75 100644 --- a/src/python/gudhi/datasets/remote.py +++ b/src/python/gudhi/datasets/remote.py @@ -143,6 +143,8 @@ def _get_archive_path(file_path, label): def fetch_spiral_2d(file_path = None): """ Fetch spiral_2d dataset remotely. + Note that if the dataset already exists in the target location, it is not downloaded again, + and the corresponding array is returned from cache. Parameters ---------- @@ -169,6 +171,8 @@ def fetch_bunny(file_path = None, accept_license = False): """ Fetch Stanford bunny dataset remotely and its LICENSE file. This dataset contains 35947 vertices. + Note that if the dataset already exists in the target location, it is not downloaded again, + and the corresponding array is returned from cache. Parameters ---------- |