Solved: Your generator is empty load_learner

I just wanted to make a post, since I couldn’t find the answer when I searched.

When using Learner.export() and Learner.load_learner() I got the error “Your generator is empty”. The issue was that my file did not have a “.pkl” ending. I renamed the file from ‘filename’ to filename.pkl’ and it worked.

1 Like