Get_data function running out of memory on training data in lesson 2

I think this is similar to the error I’m having in notebook2. So I’m a little confused on how to implement where to implement fit_generator. Is it going to be directly on trn_data from the line of code:
trn_data = get_batches(path+‘train’, shuffle=False, batch_size=1, class_mode=None, target_size=(224,224)) if so what are the parameters we need to pass in? I appreciate your help.

1 Like