It appears there is some sort of memory leak. `new_raw_predictions = model.predict(validation, mode="prediction", return_index = True, batch_size=128, output_dir = PATH)`