diff --git a/README.md b/README.md index 055d82a..613f5d1 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,10 @@ PS: 2. An alternative way is building your own NFS for your physical machines and locate data_root to the NFS. +## further usage demos + +We write the usage of RLA as unit tests. You can check the scripts in `test` folder for more details (include test_plot.py, test_scripts.py, and test_proj/proj/test_manger.py). + # TODO - [ ] support custom data structure saving and loading. - [ ] support video visualization. @@ -277,6 +281,5 @@ PS: - [ ] add an auto integration script. - [ ] download / upload experiment logs through timestamp. - [ ] add a document to the plot function. -- [ ] allow sync LOG only or ALL TYPE LOGS. -- [x] support aim and smarter logger. +- [ ] allow sync LOG only or ALL TYPE LOGS. - [ ] add unit_test to ckp loader. diff --git a/RLA/easy_log/tester.py b/RLA/easy_log/tester.py index 31fa723..66f7807 100644 --- a/RLA/easy_log/tester.py +++ b/RLA/easy_log/tester.py @@ -15,6 +15,7 @@ import datetime import os.path as osp import pprint +import numpy as np from RLA.easy_log.time_step import time_step_holder diff --git a/example/simplest_code/project/main.py b/example/simplest_code/project/main.py index 84ac737..a142802 100644 --- a/example/simplest_code/project/main.py +++ b/example/simplest_code/project/main.py @@ -28,16 +28,9 @@ def get_param(): task_name = 'demo_task' rla_data_root = '../' -<<<<<<< HEAD -<<<<<<< HEAD + exp_manager.configure(task_name, rla_config='../rla_config.yaml', data_root=rla_data_root, ignore_file_path='./ignore') -======= -exp_manager.configure(task_name, rla_config='../rla_config.yaml', data_root=rla_data_root) ->>>>>>> 9bd402e505cc920aa4329f451ac34fb3b12f6347 -======= -exp_manager.configure(task_name, rla_config='../rla_config.yaml', data_root=rla_data_root) ->>>>>>> 29ab768949f26c307e4bdb07fd9d0dc15047a69d exp_manager.log_files_gen() exp_manager.print_args()