Skip to content

before_to_disk callback is not invoked #9241

Discussion options

You must be logged in to vote

This is a little hard to understand but the right way to register a callback is like this:

before_to_disk = {"@callbacks": "my_function"}

Using just the function name like you did gives me an error that "before_to_disk is not callable".

On the other hand I could not produce a case where things ran without issue but the function was not called. Could you give the output of pip freeze in case it's something to do with a specific version of a dependency?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@shaulz
Comment options

@polm
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Issues related to Windows feat / serialize Feature: Serialization, saving and loading feat / config Feature: Training config
2 participants
Converted from issue

This discussion was converted from issue #9217 on September 19, 2021 05:09.