-
Notifications
You must be signed in to change notification settings - Fork 77
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
adding if condition to remove keys #409
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
damn, that one was missed... it means that for this production, we either have to merge at a dl2 level or release a bugfix version for the processing... @morcuended were you thinking on performing the merge before producing the DL2
?
I would suggest a bug fix release, since no other PRs have been merged yet. |
Apperently the next version of sklearn has been released with the removal of joblib. You just need to replace the imports of joblib with |
shall we fix the version of joblib to ensure compatibility of the models? |
@vuillaut I don't think joblib affects compatibility. I tested this for the aict tools and there were no problems with loading models stored with older versions of joblib with newer versions of joblib. The story is different for sklearn, so you should always load a model with the same version of sklearn that was used to train it. |
The |
As the other PR also does other changes, I would rather merge this here fast, that be simpler, right? |
but without doing any joblib modification, right? Then I agree (as soon as it passes travis checks) |
@vuillaut with pickle protocol 5 (python 3.8) and numpy 1.18, joblib becomes obsolete and we can just use the stdlib pickle module |
Why? no need to revert this. The changes are even exactly the same, so it won't even create a merge conflict. |
No, we also produce DL2 files subrun-wise |
Is the problem with missing joblib module fixed in this PR? |
I did not see that it was already included. So fine then |
|
should be
it seems that @vuillaut needs this, so I'll do the v0.5.1 release and install it in the IT cluster |
good to know. |
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
==========================================
+ Coverage 41.50% 41.57% +0.06%
==========================================
Files 76 76
Lines 6141 6153 +12
==========================================
+ Hits 2549 2558 +9
- Misses 3592 3595 +3
Continue to review full report at Codecov.
|
Ready for review. |
And we are celebrating 100th unit test 🥳 |
DL1 to DL2 fails on merged DL1 files where images have been removed.
Fixed this and added unit tests for merged DL1 files.