Eclectic-Sheep / sheeprl

Distributed Reinforcement Learning accelerated by Lightning Fabric
https://eclecticsheep.ai
Apache License 2.0
305 stars 31 forks source link

Fix/deterministic evaluate #202

Closed belerico closed 8 months ago

belerico commented 8 months ago

Summary

This PR fixes #196. In particular we have added the possibility to set the seed during the evaluation with

python sheeprl_eval.py checkpoint_path=/path/to/checkpoint.ckpt seed=42

We have also fixed the seed setting in both DMC and Crafter envs.

Type of Change

Please select the one relevant option below:

Checklist

Please confirm that the following tasks have been completed:

Screenshots or Visuals (Optional)

If applicable, please provide screenshots, diagrams, graphs, or videos of the changes, features or the error.

Additional Information (Optional)

Please provide any additional information that may be useful for the reviewer, such as:

Thank you for your contribution! Once you have filled out this template, please ensure that you have assigned the appropriate reviewers and that all tests have passed.