forked from andrew-j-levy/Hierarchical-Actor-Critc-HAC-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitialize_HAC.py
More file actions
18 lines (14 loc) · 733 Bytes
/
Copy pathinitialize_HAC.py
File metadata and controls
18 lines (14 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""
This is the starting file for the Hierarchical Actor-Critc (HAC) algorithm. The below script processes the command-line options specified
by the user and instantiates the environment and agent.
"""
from design_agent_and_env_reacher import design_agent_and_env
from options import parse_options
from agent import Agent
from run_HAC import run_HAC
# Determine training options specified by user. The full list of available options can be found in "options.py" file.
FLAGS = parse_options()
# Instantiate the agent and Mujoco environment. The designer must assign values to the hyperparameters listed in the "design_agent_and_env.py" file.
agent, env = design_agent_and_env(FLAGS)
# Begin training
run_HAC(FLAGS,env,agent)