-
Notifications
You must be signed in to change notification settings - Fork 11
Expectations on observation type #25
Comments
Oh, is it supposed to be an |
Ah, I see that there actually is already some integration with POMDPs! Cool! I may make a PR with some updates to support more features of POMDPs.jl |
Great! There's no constraint of I remember that POMDP related environments are written by @jbrea . He may provide help with your PR. |
Hi @zsunberg, The observation can be an arbitrary type now, as long as if the interfaces are implemented. Inspired by RLInterface.jl, I add the support for POMDP models here. I'm not very familiar with the code in POMDP. So currently, for a (PO)MDPModel, I tried to implement the RLBase.get_action_space(m::Union{<:POMDP,<:MDP}) = convert(AbstractSpace, actions(m)) But it won't work for (Multi)ContinuousSpace (because I didn't implement the convert functions for them). Is there any methods in POMDP to detect whether a model is continuous or discrete? Besides, the |
Nice, very cool! Where did you get the Also, is it necessary for all spaces to be There is not currently an interface to determine whether spaces continuous or discrete. We have not taken the time to develop any types to represent bounded continuous spaces since we found that most problems are hybrid anyways and it is actually convenient in many solvers to not make the distinction between continuous and discrete. |
Inspired by
I just use it for in-line export. And when the function body is missing, an error expression will be inserted.
Good question. If the action space is just
I see. Thanks for the message. |
I'm thinking about making a bridge from POMDPs.jl to this package. Are there any expectations/requirements on what the output of
observe
is? Should it be anAbstractVector
for example?The text was updated successfully, but these errors were encountered: