python3 -m pip install -e .
python3 -m plb.algorithms.solve --algo [algo] --env_name [env_name] --path [output-dir]
. It will run algorithms algo
for environment env-name
and store results in output-dir
. For example
python3 -m plb.algorithms.solve --algo action --env_name Move-v1 --path output
will run call an Adam optimizer to optimize an action sequence in environment Move-v1
python3 -m plb.algorithms.tune
For now, it would be recommended to run tune.py
for torch_nn and lstm.
convert -delay 20 -loop 0 output/*.png output/output.gif