The goal of this project is to develop an multi-agent for multi-merge env in "flow".
-
docker pull syuntoku/flowtouch:ray_latest
-
git clone [email protected]:syuntoku14/flow_rl_project.git
-
git clone [email protected]:syuntoku14/flow.git
-
modify "syuntoku14" in flow_rl_project/bash_codes/run_flow.bash as your username.
-
modify the port number in flow_rl_project/bash_codes/run_jupyter.bash
Run
./flow_rl_project/bash_codes/run_flow.bash
Run
./rl_project/bash_code/run_jupyter.bash
inside the container
Example codes are in ./rl_project/flow_codes/analyze
The codes are written in flow/flow/benchmarks/rllib
For example, if you want to train ppo with 64 cpus,
python ppo_runner.py --benchmark_name multi_merge --num_cpus 64
If you want to tune the parameter, just modify the runner.py codes.
For example,
config["parameter_noise"] = ray.tune.grid_search([True, False])
in ddpg_runner.py
If you want to modify the scale of the reward, modify flow/flow/multiagent_envs/merge.py