I have trained a network and want to load the parameters from a snapshot.
It works perfectly fine when using CPU backend. But for GPU backend, I get this error message:
TypeError: read_refs: in typeassert, expected Array{Array{T,N},1}, got Array{Array{T,N},1}
in read_refs(::JLD.JldDataset, ::Type{Array{Array{T,N},1}}, ::Int32, ::Int32, ::Tuple{Int64}) at JLD\src\JLD.jl:491
in read_array(::JLD.JldDataset, ::HDF5.HDF5Datatype, ::Int32, ::Int32, ::Tuple{Int64}) at JLD\src\JLD.jl:427
in read(::JLD.JldDataset) at JLD\src\JLD.jl:392
in read_ref(::JLD.JldFile, ::HDF5.HDF5ReferenceObj) at JLD\src\JLD.jl:518
in macro expansion at JLD\src\jld_types.jl:451 [inlined]
in jlconvert(::Type{JLD.AssociativeWrapper{AbstractString,Array{Array{T,N},1},Dict{AbstractString,Array{Array{T,N},1}}}}, ::JLD.JldFile, ::Ptr{UInt8}) at JLD\src\jld_types.jl:581
in read_scalar(::JLD.JldDataset, ::HDF5.HDF5Datatype, ::Type{T}) at JLD\src\JLD.jl:418
in read(::JLD.JldDataset)
The network has also been trained with GPU backend.
Network architecture is:
I have trained a network and want to load the parameters from a snapshot. It works perfectly fine when using CPU backend. But for GPU backend, I get this error message:
The network has also been trained with GPU backend. Network architecture is: