marleneberke / ORB_project3

0 stars 1 forks source link

Error with using HMC for updating Vs #9

Open marleneberke opened 4 years ago

marleneberke commented 4 years ago

ERROR: LoadError: Not implemented Stacktrace: [1] error(::String) at ./error.jl:33 [2] logpdf_grad(::TruncatedPoisson, ::Int64, ::Int64, ::Int64, ::Int64) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/many_inferences.jl:22 [3] special_reverse_exec!(::ReverseDiff.SpecialInstruction{TruncatedPoisson,NTuple{4,Int64},ReverseDiff.TrackedReal{Float64,Float64,Nothing},Nothing}) at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/dynamic/backprop.jl:10 [4] reverse_exec!(::ReverseDiff.SpecialInstruction{TruncatedPoisson,NTuple{4,Int64},ReverseDiff.TrackedReal{Float64,Float64,Nothing},Nothing}) at /Users/marleneberke/.julia/packages/ReverseDiff/qmgw8/src/tape.jl:93 [5] reverse_pass!(::Array{ReverseDiff.AbstractInstruction,1}) at /Users/marleneberke/.julia/packages/ReverseDiff/qmgw8/src/tape.jl:87 [6] reverse_pass! at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/backprop.jl:12 [inlined] [7] choice_gradients(::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}, ::DynamicSelection, ::Nothing) at /Users/marleneberke/.julia/packages/Gen/eQpFO/src/dynamic/backprop.jl:396 [8] #hmc2#28(::Int64, ::Float64, ::typeof(hmc2), ::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}, ::DynamicSelection) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/many_inferences.jl:111 [9] (::getfield(Main, Symbol("#kw##hmc2")))(::NamedTuple{(:L, :eps),Tuple{Int64,Float64}}, ::typeof(hmc2), ::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}, ::DynamicSelection) at ./none:0 [10] block_resimulation_update(::Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}, ::String) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/many_inferences.jl:434 [11] every_step(::Array{String,1}, ::Int64, ::Int64, ::DynamicChoiceMap) at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/many_inferences.jl:476 [12] top-level scope at /Users/marleneberke/Documents/03_Yale/Projects/001_Mask_RCNN/ORB_project3/many_inferences.jl:483 [13] include at ./boot.jl:328 [inlined] [14] include_relative(::Module, ::String) at ./loading.jl:1094 [15] include(::Module, ::String) at ./Base.jl:31 [16] include(::String) at ./client.jl:431

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