I am fitting HAN model in my data. And Want to save all the models in each iteration. For this purpose I am making a list of model at each iteration. And getting following error while deep copying the model.
ValueError: Unknown layer: AttentionWithContext
I have tried clone_model and different ways to get copy of model but get the same error
models_list.append(copy.deepcopy(model))