ARDESPOT problem model error #484
Replies: 1 comment 1 reply
-
Hi @Etwari3, this error is likely occurring because your observation function is returning a single observation rather than a distribution. The following observation function may get things to run as intended: function POMDPs.observation(m::PipeCS, a::Int, sp::Float64)
n = 15
_s = round(Int, sp*100)
return POMDPTools.Uniform(max(_s-n, 0):min(_s+n, 95))
end I'm using POMDPTools for this, but you can use the older POMDPModelTools if need be. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I got this message running a continuous POMDP - "MethodError: Cannot
convert
an object of type Vector{Float64} to an object of type Int64".Can you please help fix it?
Thank you.
PipeCS_ARDESPOT_usingTOR_model2 - Jupyter Notebook.pdf
Beta Was this translation helpful? Give feedback.
All reactions