marleneberke / ORB_project3

0 stars 1 forks source link

error with metropolis_hastings in sequential_inference.jl #8

Closed marleneberke closed 4 years ago

marleneberke commented 4 years ago

include("sequential_inferences.jl") ERROR: LoadError: MethodError: no method matching metropolis_hastings(::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}, ::DynamicDSLFunction{Any}, ::Float64) Closest candidates are: metropolis_hastings(::Any, ::GenerativeFunction, ::Tuple) at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/inference/mh.jl:29 metropolis_hastings(::Any, ::GenerativeFunction, ::Tuple, ::Function; check_round_trip) at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/inference/mh.jl:66 metropolis_hastings(::Any, ::Selection) at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/inference/mh.jl:7 Stacktrace: [1] perturbation_move(::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/sequential_inferences.jl:205 [2] particle_filter(::Int64, ::Array{Array{Float64,2},1}, ::Int64) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/sequential_inferences.jl:232 [3] top-level scope at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/sequential_inferences.jl:266 [4] include at ./boot.jl:328 [inlined] [5] include_relative(::Module, ::String) at ./loading.jl:1094 [6] include(::Module, ::String) at ./Base.jl:31 [7] include(::String) at ./client.jl:431

in expression starting at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/sequential_inferences.jl:266

marleneberke commented 4 years ago

@belledon I bet it's something silly, but can you give it a look?