From 9264c03f76ddfaf7b5406776dae1892e12091267 Mon Sep 17 00:00:00 2001 From: Whi Kwon <30768596+whikwon@users.noreply.github.com> Date: Fri, 31 May 2019 15:23:59 +0900 Subject: [PATCH] Add installation guide for openmanipulator local training (#63) --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35ed2fd..c92b750 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,11 @@ wandb login #### OpenManipulator +Follow the ROS installation commands in [Dockerfile](https://github.com/kairproject/kair_algorithms_draft/blob/master/Dockerfile) to train. + ``` -python run_open_manipulator_reacher_v0.py --algo [algo] --off-render --log +roslaunch kair_algorithms open_manipulator_env.launch gui:=false & +rosrun run_open_manipulator_reacher_v0.py --algo [algo] --off-render --log ``` #### LunarLanderContinuous-v2 @@ -113,6 +116,27 @@ python run_lunarlander_continuous.py --algo [algo] --off-render --log python run_reacher_v1.py --algo [algo] --off-render --log ``` +## How to Test + +#### OpenManipulator + +``` +roslaunch kair_algorithms open_manipulator_env.launch gui:=false & +rosrun python run_open_manipulator_reacher_v0.py --algo [algo] --off-render --test --load-from [trained_weight_path] +``` + +#### LunarLanderContinuous-v2 + +``` +python run_lunarlander_continuous.py --algo [algo] --off-render --test --load-from [trained_weight_path] +``` + +#### Reacher-v1 + +``` +python run_reacher_v1.py --algo [algo] --off-render --test --load-from [trained_weight_path] +``` + ## How to Cite We are currently writing a white paper to summarize the results. We will add a BibTeX entry below once the paper is finalized.