bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / data / _fetchers / download_all
function
skimage.data._fetchers:download_all
source: /dev/scikit-image/src/skimage/data/_fetchers.py :263
Signature
def download_all ( directory = None ) Summary
Download all datasets for use with scikit-image offline.
Extended Summary
Scikit-image datasets are no longer shipped with the library by default. This allows us to use higher quality datasets, while keeping the library download size small.
This function requires the installation of an optional dependency, pooch, to download the full dataset. Follow installation instruction found at
https://scikit-image.org/docs/stable/user_guide/install.html
Call this function to download all sample images making them available offline on your machine.
Parameters
directory: str or Path, optionalThe directory where the dataset should be stored.
Raises
: ModuleNotFoundError:If pooch is not install, this error will be raised.
Notes
scikit-image will only search for images stored in the default directory. Only specify the directory if you wish to download the images to your own folder for a particular reason. You can access the location of the default data directory by inspecting the variable skimage.data.data_dir.
Aliases
-
skimage.data.download_all