# Computing Flux.gradient change the model

**URL:** <https://discourse.julialang.org/t/computing-flux-gradient-change-the-model/54284>\
**Category:** Machine Learning\
**Created:** [January 30, 2021, 3:08pm UTC](https://discourse.julialang.org/t/computing-flux-gradient-change-the-model/54284 "2021-01-30T15:08:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [January 31, 2021, 2:10am UTC](https://discourse.julialang.org/t/computing-flux-gradient-change-the-model/54284/6 "2021-01-31T02:10:01Z")

</div>

Your English is fine, but you’re going to have to provide some more information to properly troubleshoot this 🙂 . We can’t do anything with just “your code broke the model on my pc”.

See [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). Specifically, you’ll need to provide:

1. The error and stacktrace you get (i.e. what julia outputs when the model is “broken”)
2. The version of Flux you’re using
3. The structure of your model. This should be as easy as copying the output of `println(model)`. You probably won’t have to change it, but it’s hard to debug without actually seeing what it is.

---

_[View the full topic](https://discourse.julialang.org/t/computing-flux-gradient-change-the-model/54284)._
