Closed terasakisatoshi closed 4 years ago
Is it correct ?
julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0)) 1000×1 Tensor{Float32,2}: 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 ⋮ 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0 julia> tresnet(tensor(rand(Float32,224,224,3,1), dev=0))|>sum 1000.0f0
Dup of #21
Seemingly related to an incorrect dimension being used in softmax.
softmax
Fixed on master
Is it correct ?