Giter VIP home page Giter VIP logo

Comments (3)

omangin avatar omangin commented on May 27, 2024 1

OK. Sorry to come back so late on it. Actually this is a bug in the solver pomdp-solve that is used by the code. It has been fixed on this repository: github.com/cmansley/pomdp-solve. I forgot that I had switched to this version on the code so that's why you were having the issue.

The solution is to compile pomdp-solve from this version. I'll update the README accordingly. Sorry for the wrong documentation and thanks again for the notice!

from task-models.

omangin avatar omangin commented on May 27, 2024

Hi @murphywonsick. Thanks for reporting the issue. It seems that this is caused by the pomdp-solve executable. The facet-test-00.belief file is apperently something that it needs to generate internally. Could you tell use on which platform you're running the code and try to run pomdp-solve manually against the attached file?

You should be able to do it the following way, from the directory were you'll have placed the attached tosolve.pomdp:

/usr/local/bin/pomdp-solve -horizon 500 -method grid -fg_type simplex -o tosolve -pomdp tosolve.pomdp

If it still does not work, can you run the following instead?

/usr/local/bin/pomdp-solve -horizon 10 -o tosolve -pomdp tosolve.pomdp

Note: I could only attach the file as .TXT so you'll need to rename it as a .pomdp.

tosolve.TXT

from task-models.

murphywonsick avatar murphywonsick commented on May 27, 2024

I'm on Ubuntu 14.04.
The first suggestion did not work, it throws the exact same error as before. The second suggestion finds a solution though and provides the .alpha and .pg files.

From what I found, the facet-test-00.belief is read from finite-grid.c in the pomdp-solve-5.4 code. However, I have been unable to figure out yet how/when that file is generated so I was hoping that I was just missing something on my end. I tried to self generate the file by creating an empty file with the proper name, but that only replaces the "does not exist" error with a "file format incorrect".

from task-models.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.