Repository navigation
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.
|
Replies: 2 comments 2 replies
|
Pasting your code here rather than in a zip file... Details |
|
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 |
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 freezein case it's something to do with a specific version of a dependency?