[Part 10] [RNN_Learner] Saving a trained model, reloading it elsewhere and using it to classify text

Hi,

I’ve finished the IMDB notebook (albeit on a different dataset) and exported the clas_2.h5 model. How do I go about loading this model and using it for classification? Do I need some more files?

I’ve tried creating a new RNN_Learner and calling load on it, but instantiating the RNN_Learner would require having ModelData and a TextModel . Is that really necessary?

5 Likes

Did you ever work out how to do this?