Please see Please read: make it easier to help you. We can try to work out the issue by speculating about it, but the best way to get a resolution is to post a MWE that demonstrates it. For Flux stuff, that includes dummy data, library versions used and a full stacktrace of any relevant errors.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Incorrect (implicit) gradients for a custom model in Flux | 3 | 434 | March 12, 2021 | |
Flux.jl manual training loop results in `error gradent(F, ::Params) are deprecated` | 2 | 106 | June 16, 2025 | |
Gradients of custom functions with Flux | 2 | 1185 | April 5, 2020 | |
Lux (And Flux), "parallel" Network Input. When Input is flat, Zygote gradient works, when input is not flat it doesn't | 10 | 682 | February 5, 2024 | |
Another error with defining Flux.jl gradients | 5 | 1667 | December 5, 2018 |