Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
Howuhh committed Mar 12, 2022
1 parent 90ac3c6 commit 9c71847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Vectorized environments allow batching beam search planning and select actions i
if you need to evaluate agent on number of episodes (or seeds) during training.


# Training
## Training

I trained it on D4RL medium datasets to validate that everything is OK. Scores seem to be very close to the original.
Pretrained models are [available](pretrained).
Expand All @@ -44,7 +44,7 @@ Also, all datasets for [D4RL](https://sites.google.com/view/d4rl/home) gym tasks
python scripts/train.py --config="configs/medium/halfcheetah_medium" --device="cuda" --seed="42"
```

# Evaluation
## Evaluation

Available evaluation parameters can be seen in validation [config](configs/eval_vase.yaml).
Here parameters are set to match evaluation configs from original implementation by [@jannerm](https://github.com/jannerm).
Expand Down Expand Up @@ -77,7 +77,7 @@ python scripts/eval.py \
beam_width=128
```

# References
## References
```
@inproceedings{janner2021sequence,
title = {Offline Reinforcement Learning as One Big Sequence Modeling Problem},
Expand Down
2 changes: 0 additions & 2 deletions scripts/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def create_argparser():
def run_experiment(config, seed, device):
set_seed(seed=seed)

print(config)

run_config = OmegaConf.load(os.path.join(config.checkpoints_path, "config.yaml"))
discretizer = torch.load(os.path.join(config.checkpoints_path, "discretizer.pt"), map_location=device)

Expand Down

0 comments on commit 9c71847

Please sign in to comment.