Please provide an example of a working before_update callback #12656
Answered
by
kinghuang
JeremyCraigMartinez
asked this question in
Help: Other Questions
-
The before_update callback was introduced in v3.5. However, it is not clear to me how to get this to work. Every approach I've attempted has resulted in errors in the training process. How does one load a callback and pass it in as a callable? There are no working examples. All the documentation just has this set to The following config:
produces the error
|
Beta Was this translation helpful? Give feedback.
Answered by
kinghuang
May 23, 2023
Replies: 1 comment 1 reply
-
I also tried something with
And referencing the callback by name, but I get the same error |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a registered callback function named
cb_before_update
, you can specify it like the following.