- Install Pytorch c++ API
- mkdir build && cd build && cmake -DCMAKE_PREFIX_PATH='/path/to/pytorch_c++_api/libtorch' ..
- make (or make -j)
./A --env (name of gym env) --load_model (model path)
- Hopper-v2
./A --env Hopper-v2 --load_model trained_model/Hopper.xml
./A --env (name of gym env) --train_step (# of train step) --load_model (model path if exists)
- Hopper-v2
./A --env Hopper-v2 --train_step 1000