I'm using optuna package to optimize my model, and I'm using the option to run multiple job at a time. when I ran this I get:
Trial failed because of the following error: ValueError('The name "dense" is used 3 times in the model. All layer names should be unique.'
But I didn't assign any names to the layers. I had the tensorflow.keras.backend.clear_session()
, and when I remove it I don't get the error anymore. is this ok to remove it? what are the impacts? is there other solution to this?