Tracking UI for Baal experiment building on MLFlow server.
- Install the python backend
poetry install
- Install the frontend
cd webapp && yarn install
# Set tracking URI, can be a sqlite database, an external server, etc.
export MLFLOW_TRACKING_URI=tracking
# If you need fake data
poetry run python scripts/create_fake_data.py
make run
Frontend:
cd webapp
yarn start
Both ends will reload automatically on change.
Run a query manually:
- Go to http://0.0.0.0:8000/docs
- Find a run ID in
tracking
- Try the
/metric
route with this run id.
- Install precommit hooks
poetry run pre-commit install
- Run precommit manually
poetry run pre-commit run --all-files
- Run precommit manually
- Run formatting manually (Python):
make format
We have a script scripts/create_real_data.py
that will run a small model on MNIST.
First install extra deps: poetry install -E full
Then run the following:
export HEURISTIC=bald # Can be one of bald, entropy, random
export SEED=2023 # Seed
# Set tracking URI, can be a sqlite database, an external server, etc.
export MLFLOW_TRACKING_URI=tracking
# If you need fake data
poetry run python scripts/create_real_data.py $HEURISTIC $SEED
make run