1
Fork 0

Apply suggestions from code review

Co-authored-by: RobinMeersman <77965843+RobinMeersman@users.noreply.github.com>
Co-authored-by: Tibo De Peuter <tibo.depeuter@telenet.be>
This commit is contained in:
Tibo De Peuter 2026-04-09 15:02:02 +02:00 committed by GitHub
parent 849581fcfd
commit 2d43f5e642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 9 deletions

3
.gitignore vendored
View file

@ -3,9 +3,6 @@ artifacts/*
runs/*
wandb/
# Experiment tracking
wandb/
# Python-generated files
__pycache__/
*.py[oc]

View file

@ -34,19 +34,19 @@ uv sync --frozen
example command:
```bash
uv run python src/train.py
uv run python scripts/train.py
```
Or use a custom config file:
```bash
uv run python src/train.py --config configs/my_experiment.yaml
uv run python scripts/train.py --config configs/my_experiment.yaml
```
Override specific parameters:
```bash
uv run python src/train.py --learning-rate 0.001 --num-envs 32 --track
uv run python scripts/train.py --learning-rate 0.001 --num-envs 32 --track
```
### Logging

View file

@ -4,15 +4,15 @@ This directory contains configuration files for training experiments.
## Usage
Use `--config` with `src/train.py` to run an experiment:
Use `--config` with `scripts/train.py` to run an experiment:
```bash
python src/train.py --config configs/default_ppo.yaml
python scripts/train.py --config configs/default_ppo.yaml
```
You can overriding settings via CLI:
```bash
python src/train.py --config configs/default_ppo.yaml --learning-rate 0.001
python scripts/train.py --config configs/default_ppo.yaml --learning-rate 0.001
```
## Available Configurations