# chainer.dataset.set_dataset_root¶

chainer.dataset.set_dataset_root(path)[source]

There are two ways to set the dataset root directory. One is by setting the environment variable CHAINER_DATASET_ROOT. The other is by using this function. If both are specified, one specified via this function is used. The default dataset root is \$HOME/.chainer/dataset.