Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorical: the condition isprobvec(p) is not satisfied. Stacktrace #18

Open
marleneberke opened this issue May 13, 2020 · 1 comment

Comments

@marleneberke
Copy link
Owner

ERROR: LoadError: ArgumentError: Categorical: the condition isprobvec(p) is not satisfied.
Stacktrace:
[1] macro expansion at /Users/marleneberke/.julia/packages/Distributions/dTXqn/src/utils.jl:6 [inlined]
[2] #_#26 at /Users/marleneberke/.julia/packages/Distributions/dTXqn/src/univariate/discrete/categorical.jl:30 [inlined]
[3] #Categorical#27 at /Users/marleneberke/.julia/packages/Distributions/dTXqn/src/univariate/discrete/categorical.jl:34 [inlined]
[4] DiscreteNonParametric at /Users/marleneberke/.julia/packages/Distributions/dTXqn/src/univariate/discrete/categorical.jl:34 [inlined]
[5] random at /Users/marleneberke/.julia/packages/Gen/zBy5S/src/modeling_library/categorical.jl:21 [inlined]
[6] Categorical at /Users/marleneberke/.julia/packages/Gen/zBy5S/src/modeling_library/categorical.jl:25 [inlined]
[7] sample_unweighted_traces(::Gen.ParticleFilterState{Gen.DynamicDSLTrace}, ::Int64) at /Users/marleneberke/.julia/packages/Gen/zBy5S/src/inference/particle_filter.jl:67
[8] particle_filter(::Int64, ::Array{Any,1}, ::Gen.DynamicDSLChoiceMap, ::Int64) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/April_May/inference_Mario_model.jl:215
[9] top-level scope at ./util.jl:308 [inlined]
[10] top-level scope at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/April_May/execute_Mario_model.jl:0
[11] include(::String) at ./client.jl:439
[12] top-level scope at REPL[1]:1
in expression starting at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/April_May/execute_Mario_model.jl:155

@marleneberke
Copy link
Owner Author

@belledon the mbrfs version has the same problem as the a_first version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant