Fiddle is a Python-first configuration library particularly well suited to ML applications. Fiddle enables deep configurability of parameters in a program, while allowing configuration to be expressed in readable and maintainable Python code.
Additional details can be found in the documentation.
Install Fiddle with pip:
pip install fiddle
Install Fiddle from source:
git clone https://github.com/google/fiddle
cd fiddle
python -m setup install
Import Fiddle:
import fiddle as fdl
Build the fdl_config
wheel:
WHEEL_PATH=$(./build_renamed.sh | tail -1)
# Install with the [flags] extension, which adds etils and absl-py.
pip install "${WHEEL_PATH}"'[flags]'
Import Fiddle:
import fdl_config as fdl
Update repo from upstream:
update_from_google.sh
git push