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:
parent
849581fcfd
commit
2d43f5e642
3 changed files with 6 additions and 9 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,9 +3,6 @@ artifacts/*
|
||||||
runs/*
|
runs/*
|
||||||
wandb/
|
wandb/
|
||||||
|
|
||||||
# Experiment tracking
|
|
||||||
wandb/
|
|
||||||
|
|
||||||
# Python-generated files
|
# Python-generated files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[oc]
|
*.py[oc]
|
||||||
|
|
|
||||||
|
|
@ -34,19 +34,19 @@ uv sync --frozen
|
||||||
example command:
|
example command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv run python src/train.py
|
uv run python scripts/train.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Or use a custom config file:
|
Or use a custom config file:
|
||||||
|
|
||||||
```bash
|
```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:
|
Override specific parameters:
|
||||||
|
|
||||||
```bash
|
```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
|
### Logging
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,15 @@ This directory contains configuration files for training experiments.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use `--config` with `src/train.py` to run an experiment:
|
Use `--config` with `scripts/train.py` to run an experiment:
|
||||||
|
|
||||||
```bash
|
```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:
|
You can overriding settings via CLI:
|
||||||
```bash
|
```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
|
## Available Configurations
|
||||||
|
|
|
||||||
Reference in a new issue