# Is there a bug in the flux convolution code?

**URL:** <https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169>\
**Category:** Machine Learning\
**Created:** [December 11, 2019, 7:21pm UTC](https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169 "2019-12-11T19:21:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaynick](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Post date:** [December 11, 2019, 7:21pm UTC](https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169/1 "2019-12-11T19:21:43Z")

</div>

Apology because this is a vague question, but: is there something wrong with the convolution code in Flux?

Looking at the results of this example [https://github.com/avik-pal/FastStyleTransfer.jl](https://github.com/avik-pal/FastStyleTransfer.jl) , they just do not “look right”. (I think there is an interactive example of this somewhere on flux pages but cannot find it).

And 1-2 years ago I also vaguely remember some comment I read, maybe on here (Discourse), that suggested that there was a problem in convolutions, but also cannot find that.

---

<div class="post-metadata">

**Author:** ![Per](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/per/32/10387_2.png) [@Per](https://discourse.julialang.org/u/Per)\
**Post date:** [December 12, 2019, 8:53am UTC](https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169/2 "2019-12-12T08:53:50Z")

</div>

Flux does have a number of [registered issues related to convolution](https://github.com/FluxML/Flux.jl/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20convolution). I guess you could look there.
