question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading a model from 0.4.1 in 0.5.11

See original GitHub issue

Describe the bug After saving a model on 5.10 using Classifier.save("my_model.bin"), upgrading to 5.11. Loading using Classifier.load("my_model.bin") results in KeyError: 'base_model_path'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
dimiddcommented, Oct 31, 2018

Great, thanks a lot! Re the loading issue, perhaps we shouldn’t bother with backward compatibility for earlier finetune versions, if there are more pressing issues.

0reactions
madisonmaycommented, Nov 4, 2018

@dimidd I think that’s wise – because the project is young we were not too worried about preserving model save files between major finetune versions, but I am sorry we made life hard for you. Hope retraining is not too bad. Thanks again, closing for now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to load resnet in new fastai version - Part 1 2022
I am probably doing a very silly mistake. i can't load my trained model . Here is the error: FileNotFoundError: [Errno 2] No...
Read more >
Save and Load Machine Learning Models in Python with scikit ...
In this post you will discover how to save and load your machine learning model in Python using scikit-learn. This allows you to...
Read more >
Loading pre-trained model with set vocab file · Issue #8 - GitHub
Hi, the model cannot be loaded directly from torch.load as the model must be created following the config file ( conll_03_english.yaml here).
Read more >
SpaCy OSError: Can't find model 'en' - Stack Overflow
Hi ,when I try to load the en model, I got error OSError: [E049] Can't find spaCy data directory: 'None'. Check your installation...
Read more >
Simplr Linear Programming vs Support Vector Regression
#calculating RMSE PredY <- predict(model, prediction) PredY ... 4 0.3 1 0.4431440 0.32359080 ## 5 0.4 1 0.4431440 0.32359080 ## 6 0.5 1...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found