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
I defined a grouped convolution in Flux using C = Conv((1,1), 2=>2, groups=2). When I feed non-float arrays to this convolutional layer, eg with C(rand(10,10,2,1)), I first get a Slow fallback warning, and then an AssertionError: DimensionMismatch, see the stacktrace below.
This error should not be here, and is very misleading since it is by no means a DimensionMismatch problem - the dimensions are ok - but it is apparently linked to the datatypes : indeed, accordingly to the warning, the error disappears when I use C(rand(Float32, 10,10,2,1)).
Classical (non-grouped) convolutions do not display these kind of errors.
Hi,
I defined a grouped convolution in Flux using
C = Conv((1,1), 2=>2, groups=2)
. When I feed non-float arrays to this convolutional layer, eg withC(rand(10,10,2,1))
, I first get aSlow fallback
warning, and then anAssertionError: DimensionMismatch
, see the stacktrace below.This error should not be here, and is very misleading since it is by no means a
DimensionMismatch
problem - the dimensions are ok - but it is apparently linked to the datatypes : indeed, accordingly to the warning, the error disappears when I useC(rand(Float32, 10,10,2,1))
.Classical (non-grouped) convolutions do not display these kind of errors.
See also the Julialang discussion.
The text was updated successfully, but these errors were encountered: