-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlalchemy: ObjectDeletedError #213
Comments
This adds session synchronization to all delete queries in fonduer. Note that this does have performance implications. Specifically: > The 'fetch' strategy results in an additional SELECT statement emitted > and will significantly reduce performance. from [1]. [1]: https://docs.sqlalchemy.org/en/latest/orm/query.html Closes #213.
Reopening. This is still an issue. |
Do we still observe this issue? |
Yes. |
I've just observed the same error message (not sure if it is exactly the same issue) during
|
In my case,
works just fine. Maybe fonduer/src/fonduer/candidates/candidates.py Lines 127 to 129 in 7a5df47
|
Describe the bug
During some stages of the pipeline (e.g. candidate extraction or featurization), some of the UDFs crash with a
sqlalchemy.orm.exc.ObjectDeletedError
.To Reproduce
Unfortunately, this requires a large dataset to reproduce. I will update this with a minimal example if I can find one. Otherwise, I've currently seeing it on the full transistor dataset when extracting candidates as follows
Expected behavior
No errors. No UDFs crashing.
Error Logs/Screenshots
This also happens for
ImplicitSpanMention
s:Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: