Sign inSign up

romainegele/pomdp

By romainegele

•Updated over 5 years ago

Image
1

228

romainegele/pomdp repository overview

⁠POMDP: Tiger Problem

Docker image for the pomdp_py research Python package: https://h2r.github.io/pomdp-py/html/index.html⁠

@inproceedings{zheng2020pomdp_py,
   title = {pomdp\_py: A Framework to Build and Solve POMDP Problems},
   author = {Zheng, Kaiyu and Tellex, Stefanie},
   booktitle = {ICAPS 2020 Workshop on Planning and Robotics (PlanRob)},
   year = {2020},
   url = {https://icaps20subpages.icaps-conference.org/wp-content/uploads/2020/10/14-PlanRob_2020_paper_3.pdf},
   note = {Arxiv link: "\url{https://arxiv.org/pdf/2004.10099.pdf}"}
}

⁠How to get Docker

Click here to get Docker⁠

⁠Usage and example

Follow the Tiger problem Tutorial at: https://h2r.github.io/pomdp-py/html/examples.tiger.html⁠

After starting Docker Desktop, to start the Docker container execute:

docker pull romainegele/pomdp
docker run -i  -t romainegele/pomdp /bin/bash

(Optional) If you want to link your local filesystem to the container replace the 2nd line by:

docker run -i -v $PWD:/app/pomdp-py -t romainegele/pomdp /bin/bash

Then to execute the Tiger problem and observe the outputs run:

python pomdp_problems/tiger/tiger_problem.py

⁠Build and update the docker image

Build new image and push to docker:

docker build -t romainegele/pomdp .
docker push romainegele/pomdp:latest

⁠In case you don't like Docker

Assuming you have Anaconda or Miniconda:

conda create -n pomdp python=3.7
conda activate pomdp

Install Graphviz for Windows:

conda install -c alubbock pygraphviz

Install Graphviz for Linux:

apt-get install -y build-essential graphviz graphviz-dev

Install Graphviz for Mac:

brew install graphviz

Then

pip install Cython
git clone https://github.com/h2r/pomdp-py.git
cd pomdp-py/
pip install -e.

To execute the Tiger problem example:

python pomdp_problems/tiger/tiger_problem.py

Tag summary

Content type

Image

Digest

Size

686.6 MB

Last updated

over 5 years ago

docker pull romainegele/pomdp