You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: TypeError: in Type, in A, expected A<:(AxisArray{Union{Missing, Real},3,D,Ax} where Ax where D), got Type{Missing}
Stacktrace:
[1] constructtype(::Type{T} where T, ::Array{Any,1}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:50
[2] (::BSON.var"#33#34")(::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:53
[3] _raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:79
[4] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:89
[5] (::BSON.var"#43#44")(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:138
[6] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:88
[7] (::BSON.var"#18#20"{IdDict{Any,Any}})(::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:82
[8] applychildren!(::BSON.var"#18#20"{IdDict{Any,Any}}, ::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\BSON.jl:21
[9] _raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:82
[10] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:89
[11] raise_recursive at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:99 [inlined]
[12] load(::String) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:104
[13] top-level scope at C:\Users\millsjf.julia\packages\BSON\XAts7\src\BSON.jl:52
I have tried updating the packages. The same error occurs for different BSON files, so it's not a corrupted file.
It takes several hours to estimate the model, so I really need to be able to load the MCMC chains rather than keep running the model again. Any help would be greatly appreciated.
Thanks,
Jeff Mills
The text was updated successfully, but these errors were encountered:
Up until today (10/30/2020) I have run the following code numerous times with no error. Today I get the following error:
using BSON: @load, @save
using AxisArrays
using CSV, DataFrames, Plots, StatsPlots, Distributions
using Turing, LinearAlgebra
@load "heterog_model_hmc_chains_02prior.bson" cc
ERROR: TypeError: in Type, in A, expected A<:(AxisArray{Union{Missing, Real},3,D,Ax} where Ax where D), got Type{Missing}
Stacktrace:
[1] constructtype(::Type{T} where T, ::Array{Any,1}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:50
[2] (::BSON.var"#33#34")(::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:53
[3] _raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:79
[4] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:89
[5] (::BSON.var"#43#44")(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\extensions.jl:138
[6] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:88
[7] (::BSON.var"#18#20"{IdDict{Any,Any}})(::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:82
[8] applychildren!(::BSON.var"#18#20"{IdDict{Any,Any}}, ::Dict{Symbol,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\BSON.jl:21
[9] _raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:82
[10] raise_recursive(::Dict{Symbol,Any}, ::IdDict{Any,Any}) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:89
[11] raise_recursive at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:99 [inlined]
[12] load(::String) at C:\Users\millsjf.julia\packages\BSON\XAts7\src\read.jl:104
[13] top-level scope at C:\Users\millsjf.julia\packages\BSON\XAts7\src\BSON.jl:52
I have tried updating the packages. The same error occurs for different BSON files, so it's not a corrupted file.
It takes several hours to estimate the model, so I really need to be able to load the MCMC chains rather than keep running the model again. Any help would be greatly appreciated.
Thanks,
Jeff Mills
The text was updated successfully, but these errors were encountered: