I have
julia> size(X_train)
(130, 4)
julia> size(y_train)
(130, 3)
but I get a dimension mismatch with
loader = Flux.DataLoader((X_train, y_train), shuffle=true)
((( Oops, I just need to transpose everything. )))
I have
julia> size(X_train)
(130, 4)
julia> size(y_train)
(130, 3)
but I get a dimension mismatch with
loader = Flux.DataLoader((X_train, y_train), shuffle=true)
((( Oops, I just need to transpose everything. )))
yes, in Flux the batch dimension is the last dimension