-
Notifications
You must be signed in to change notification settings - Fork 112
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
ModuleNotFoundError: No module named 'mapie.conformity_scores.residual_conformity_scores' #511
Comments
Hi @gaspardc-met, thanks for your message and glad to hear you've been using MAPIE for a while. Explanation of the bugThis bug is a direct consequence of the renaming of certain files (the Suggested solutionAt this stage, you can resolve this bug simply by updating the new path to the class, directly in the from mapie.conformity_scores import ResidualNormalisedScore ConclusionEven with the update to MAPIE, you can still access all the existing functions and classes. Their access path has just changed (surely we should have left the previous access path still operational for the time of the update). To fully satisfy your problem of downloading an old model that you previously saved under MAPIE < 0.9.0, we're going to have to make a patch in the next few days. Don't hesitate to let me know if this solution solves your problem. |
Thank you for the feedback @thibaultcordier To be honest the models are in production so for now I just pinned MAPIE to <0.9.0 to avoid retraining them. |
Hello @gaspardc-met, we have just merged the PR which fixes your issue and released a new version of mapie (0.9.1) on pypi. The conda version should be available in one our two days ! We hope that this fix will solve your problems ! |
Mapie version 0.9.1 is now also available on conda ! |
Hi @vincentblot28 , Thank you for the patch and the heads-up. Best regards |
Hello MAPIE team
Been happily using MAPIE for a while now. Filling this because I'm not sure if the regression is intended from the
0.9.0
release or not.Describe the bug
Failing to load previously trained MAPIE models
To Reproduce
MAPIE==0.8.4
MAPIE < 0.9.0
(up to 0.8.6) works fineExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: