Add installation guide for openmanipulator local training (#63)

This commit is contained in:
Whi Kwon
2019-05-31 15:23:58 +09:00
committed by Seungjae Ryan Lee
parent 09b1f2e9a8
commit 9264c03f76
+25 -1
View File
@@ -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.