Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tresnet always return value ones(1000) #25

Closed
terasakisatoshi opened this issue Jul 1, 2020 · 2 comments
Closed

tresnet always return value ones(1000) #25

terasakisatoshi opened this issue Jul 1, 2020 · 2 comments

Comments

@terasakisatoshi
Copy link

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
@DhairyaLGandhi
Copy link
Member

Dup of #21

Seemingly related to an incorrect dimension being used in softmax.

@DhairyaLGandhi
Copy link
Member

Fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants