Skip to content

Commit 0e5e3b7

Browse files
authored
Merge pull request #105 from alan-turing-institute/rename-to-encoder-processor-decoder
Rename scripts (#81)
2 parents e04a632 + a5020fb commit 0e5e3b7

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ Train an encoder-processor-decoder stack and evaluate the resulting checkpoint:
2020

2121
```bash
2222
# Train
23-
uv run train_processor --config-path=configs/ --work-dir=outputs/processor_run
24-
23+
uv run train_encoder_processor_decoder \
24+
--config-path=configs/ \
25+
--work-dir=outputs/encoder_processor_decoder_run
26+
2527
# Evaluate
26-
uv run evaluate_processor \
28+
uv run evaluate_encoder_processor_decoder \
2729
--config-path=configs/ \
2830
--work-dir=outputs/processor_eval \
29-
--checkpoint=outputs/processor_run/encoder_processor_decoder.ckpt \
31+
--checkpoint=outputs/encoder_processor_decoder_run/encoder_processor_decoder.ckpt \
3032
--batch-index=0 --batch-index=3 \
31-
--video-dir=outputs/processor_eval/videos
33+
--video-dir=outputs/encoder_processor_decoder_run/videos
3234
```
3335

3436
Evaluation writes a CSV of aggregate metrics to `--csv-path` (defaults to
@@ -43,7 +45,7 @@ fully driven by the Hydra config under `configs/logging/wandb.yaml`.
4345
- Enable logging for CLI workflows by passing Hydra config overrides as positional arguments:
4446

4547
```bash
46-
uv run train_processor \
48+
uv run train_encoder_processor_decoder \
4749
--config-path=configs \
4850
logging.wandb.enabled=true \
4951
logging.wandb.project=autocast-experiments \

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ dev = [
3434

3535
[project.scripts]
3636
autocast = "autocast:main"
37-
train_processor = "autocast.train.processor:main"
37+
train_encoder_processor_decoder = "autocast.train.encoder_processor_decoder:main"
3838
train_autoencoder = "autocast.train.autoencoder:main"
39-
evaluate_processor = "autocast.eval.processor:main"
39+
evaluate_encoder_processor_decoder = "autocast.eval.encoder_processor_decoder:main"
4040

4141
[build-system]
4242
requires = ["uv_build>=0.8.15,<0.9.0"]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)