Hi,
I’m currently implementing Lesson 3’s IMDB learning model and the learn.save function appears to hang. Noticeably, I get the * saying it’s running and then it never comes back.
I’m running the third classifier and had to reduce my batch size to 24. Each time before running learn.fit_one_cycle I restart the kernel, import my fastai libraries and run the following:
bs=24
path = Path(’/home/jupyter/.fastai/data/imdb’)
data_clas = load_data(path, ‘data_clas.pkl’, bs=bs)
learn = text_classifier_learner(data_clas, AWD_LSTM, drop_mult=0.5)
learn.load_encoder(‘imdb_tuned_enc’)
learn.load(‘second_classifier’);
learn.freeze_to(-3)
learn.fit_one_cycle(1, slice(5e-3/(2.6**4),5e-3), moms=(0.8,0.7))
This takes around 14 minutes to run.
Have I forgotten something after resetting the kernel?
Thanks in advance