def configure_matlab_bin_path(matlab_bin_path): r"""Setup menpobench by configuring the path to the Matlab executable. Your preference will be saved at '~/.menpobenchrc', and used for future uses of menpobench. """ from menpobench.config import save_custom_config save_custom_config({'matlab_bin_path': matlab_bin_path})
def configure_cache_dir(cache_dir): r"""Setup menpobench by configuring a directory for caching datasets and methods. datasets are generally large, so you will want to choose a directory on a volume with a fairly large capacity (we recommend 20GB+). Your preference will be saved at '~/.menpobenchrc', and used for future uses of menpobench. """ from menpobench.config import save_custom_config save_custom_config({'cache_dir': cache_dir})