Skip to content

Commit

Permalink
Merge pull request #1 from thu-ml/master
Browse files Browse the repository at this point in the history
fix readme (#273)
  • Loading branch information
shengxiang19 authored Jan 19, 2021
2 parents aaa6a79 + 866e35d commit 5ae80be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ result = ts.trainer.offpolicy_trainer(
train_fn=lambda epoch, env_step: policy.set_eps(eps_train),
test_fn=lambda epoch, env_step: policy.set_eps(eps_test),
stop_fn=lambda mean_rewards: mean_rewards >= env.spec.reward_threshold,
writer=writer, task=task)
writer=writer)
print(f'Finished training! Use {result["duration"]}')
```

Expand Down

0 comments on commit 5ae80be

Please sign in to comment.