Data and output paths

FINEST stores datasets, downloaded models, training runs, and caches outside the checkout. Set the paths below to keep using the same files across clones and code updates.

Set your project directories

Replace these example paths with absolute locations on your data disk, then export them in every terminal used for collection, training or serving:

export FINEST_DATA_ROOT=/absolute/path/to/finest/data
export FINEST_MODEL_ROOT=/absolute/path/to/finest/models
export FINEST_OUTPUT_ROOT=/absolute/path/to/finest/outputs
export FINEST_CACHE_ROOT=/absolute/path/to/finest/cache

Directory

Contents

Data

Raw demonstrations and policy-specific converted datasets

Models

Downloaded base models and supplied model assets

Outputs

Training runs, checkpoints, evaluation reports and videos

Cache

Generated simulation scenes and FINEST runtime caches

Conda environments and package-manager download caches follow your host configuration separately. These four variables do not configure Conda, pip or every third-party model downloader.

Check the resolved paths

From the repository root, in any Python environment:

python - <<'PY'
from finest_runtime import data_root, model_root, output_root, cache_root

for name, path in (
    ("data", data_root()), ("models", model_root()),
    ("outputs", output_root()), ("cache", cache_root()),
):
    print(f"{name}: {path}")
PY

Path resolution does not create directories. A FINEST_*_ROOT override selects the exact project directory; a shared root adds a finest subdirectory.

Defaults and precedence

FINEST uses the first configured option in each row:

Purpose

Project override

Shared root

User fallback

Data

FINEST_DATA_ROOT

$DATA_ROOT/finest

$XDG_DATA_HOME/finest/data or ~/.local/share/finest/data

Models

FINEST_MODEL_ROOT

$MODEL_ROOT/finest

$XDG_DATA_HOME/finest/models or ~/.local/share/finest/models

Outputs

FINEST_OUTPUT_ROOT

$OUTPUT_ROOT/finest

$XDG_STATE_HOME/finest/outputs or ~/.local/state/finest/outputs

Cache

FINEST_CACHE_ROOT

$XDG_CACHE_HOME/finest

~/.cache/finest

Paths must be absolute after ~ expansion. Defaults use user storage, not the current checkout. On a shared server, use its assigned storage locations and verify that the required mounts are present before starting a large run.

Use paths in code and configuration

finest_runtime.py resolves these paths without importing simulation or training dependencies. Python code calls data_root(), model_root(), output_root() and cache_root(); YAML uses the corresponding resolver keys:

output_dir: ${finest_path:outputs}/my_experiment
dataset_dir: ${finest_path:data}/my_dataset

The other interpolation keys are ${finest_path:models} and ${finest_path:cache}.

Explicit checkpoint or dataset arguments still need to point to the actual files. Changing a root does not move existing data, rewrite arbitrary paths in third-party code or update already-running Python processes. Restart those processes after changing their environment.