before_to_disk callback is not invoked #9241
-
The "inside callback" is not printed. The python module SpacyFunctions.py (attached in zip) includes the callback definition.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Pasting your code here rather than in a zip file...
|
Beta Was this translation helpful? Give feedback.
-
This is a little hard to understand but the right way to register a callback is like this:
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 |
Beta Was this translation helpful? Give feedback.
This is a little hard to understand but the right way to register a callback is like this:
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?