Skip to content

Commit

Permalink
Make sure groups keyword is an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
darsnack committed Apr 5, 2022
1 parent 8f6cc77 commit daba9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/conv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ depthwise_sep_conv_bn(kernelsize, inplanes, outplanes, activation = relu;
vcat(conv_bn(kernelsize, inplanes, inplanes, activation;
rev = rev, initβ = initβ, initγ = initγ,
ϵ = ϵ, momentum = momentum,
stride = stride, groups = inplanes, kwargs...),
stride = stride, groups = Int(inplanes), kwargs...),
conv_bn((1, 1), inplanes, outplanes, activation;
rev = rev, initβ = initβ, initγ = initγ,
ϵ = ϵ, momentum = momentum))
Expand Down

0 comments on commit daba9a8

Please sign in to comment.