move doc string
This commit is contained in:
parent
d9a201754c
commit
2e3f0b5e99
@ -1,7 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Use the high-level API of TianShou to evaluate the PPO algorithm on a MuJoCo environment with multiple seeds for a
|
|
||||||
given configuration. After the agents are trained, the results are evaluated using rliable API.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from collections.abc import Sequence
|
from collections.abc import Sequence
|
||||||
@ -53,6 +50,10 @@ def main(
|
|||||||
norm_adv: bool = False,
|
norm_adv: bool = False,
|
||||||
recompute_adv: bool = True,
|
recompute_adv: bool = True,
|
||||||
) -> str:
|
) -> str:
|
||||||
|
"""Use the high-level API of TianShou to evaluate the PPO algorithm on a MuJoCo environment with multiple seeds for
|
||||||
|
a given configuration. The results for each run are stored in separate sub-folders. After the agents are trained,
|
||||||
|
the results are evaluated using rliable API.
|
||||||
|
"""
|
||||||
log_name = os.path.join("log", task, "ppo", datetime_tag())
|
log_name = os.path.join("log", task, "ppo", datetime_tag())
|
||||||
experiment_config.persistence_base_dir = log_name
|
experiment_config.persistence_base_dir = log_name
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user