Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,18 @@ We build an example project for integrating RLA, which can be seen in ./example/
We record scalars by `RLA.easy_log.logger`:
```python
from RLA.easy_log import logger

# scalar variable
value = 1
logger.record_tabular("k", value)

# tensorflow summary
import tensorflow as tf
summary = tf.Summary()
logger.log_from_tf_summary(summary)
from RLA.easy_log.time_step import time_step_holder

for i in range(1000):
# time-steps (iterations)
time_step_holder.set_time(i)
# scalar variable
value = 1
logger.record_tabular("k", value)
# tensorflow summary
summary = tf.Summary()
logger.log_from_tf_summary(summary)

```
**Record checkpoints**
Expand Down Expand Up @@ -248,4 +251,3 @@ PS:
- [ ] add comments and documents to the functions.
- [ ] add an auto integration script.
- [ ] download / upload experiment logs through timestamp.

4 changes: 2 additions & 2 deletions example/sb3_ppo_example/rla_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ LOG_USED:
- 'tensorboard'
- 'csv'

# select a DL framework: tensorflow or pytorch.
DL_FRAMEWORK: 'pytorch'
# select a DL framework: tensorflow or torch.
DL_FRAMEWORK: 'torch'

SEND_LOG_FILE: False
REMOTE_SETTING:
Expand Down
2 changes: 1 addition & 1 deletion example/sb_ppo_example/rla_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LOG_USED:
- 'tensorboard'
- 'csv'

# select a DL framework: tensorflow or pytorch.
# select a DL framework: tensorflow or torch.
DL_FRAMEWORK: 'tensorflow'

SEND_LOG_FILE: False
Expand Down
2 changes: 1 addition & 1 deletion example/simplest_code/rla_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LOG_USED:
- 'tensorboard'
- 'csv'

# select a DL framework: tensorflow or pytorch.
# select a DL framework: "tensorflow" or "torch".
DL_FRAMEWORK: 'tensorflow'

SEND_LOG_FILE: False
Expand Down