https://github.com/comet-ml/rllib-example
Example of logging RLLib runs to Comet
https://github.com/comet-ml/rllib-example
Last synced: about 1 year ago
JSON representation
Example of logging RLLib runs to Comet
- Host: GitHub
- URL: https://github.com/comet-ml/rllib-example
- Owner: comet-ml
- Created: 2021-10-28T17:13:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T17:25:12.000Z (over 4 years ago)
- Last Synced: 2025-04-03T02:54:46.574Z (about 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Comet Logger with RLLib
An example for logging RLLib runs to Comet using a CustomLoggerCallback.
## Setup
Install dependencies
```bash
pip install -r requirements.txt
```
Set your API key
```
export COMET_API_KEY=
```
## To Run
**Note:** To run this example you will need a machine with at least 4 CPUs.
```
python comet_rllib_example.py
```
## Example Experiment
You can find an example of a completed run in this [Experiment](https://www.comet.ml/team-comet-ml/rllib-test/0d1f55a345e54b5ea915aff9ef85a4d2?experiment-tab=chart&showOutliers=true&smoothing=0&transformY=smoothing&xAxis=step)