mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-09 11:13:47 +08:00
Minor fix
This commit is contained in:
@@ -89,7 +89,7 @@ Detailed usage and all training parameters can be found in ```main.py```.
|
||||
And you need to create following directories before running the program:
|
||||
```
|
||||
cd DeepRL
|
||||
mkdir data log evaluation_log
|
||||
mkdir data log
|
||||
```
|
||||
|
||||
# References
|
||||
|
||||
@@ -32,7 +32,6 @@ def evaluate(config, task, learning_network, extra):
|
||||
test_wall_times = []
|
||||
initial_time = time.time()
|
||||
worker = config.worker(config, learning_network, extra)
|
||||
# config.logger = Logger('./evaluation_log', gym.logger)
|
||||
while True:
|
||||
steps = config.total_steps.value
|
||||
if config.test_interval and steps % config.test_interval == 0:
|
||||
|
||||
@@ -202,7 +202,7 @@ def a3c_continuous():
|
||||
def p3o_continuous():
|
||||
config = Config()
|
||||
config.task_fn = lambda: Pendulum()
|
||||
config.task_fn = lambda: BipedalWalker()
|
||||
# config.task_fn = lambda: BipedalWalker()
|
||||
# config.task_fn = lambda: BipedalWalkerHardcore()
|
||||
# config.task_fn = lambda: Roboschool('RoboschoolInvertedPendulum-v1')
|
||||
# config.task_fn = lambda: Roboschool('RoboschoolAnt-v1')
|
||||
|
||||
Reference in New Issue
Block a user