Some of our code breaks with the most recent version of Tensorflow (see issue #91).
I had to change the assertion that looks for a valid keras model.
(we could maybe add another assert such as assert model.layers, "Expected valid keras model as input" ?)
To be sure it doesn't now break for former tensorflow version I added CI tests for Tensorflow >=2.4,<2.5 and >=2.5, <2.6.
Tensorflow recommends to not use tensorflow.python.keras imports anymore, so I replaced that as well.
Some of our code breaks with the most recent version of Tensorflow (see issue #91).
assert model.layers, "Expected valid keras model as input"
?)>=2.4,<2.5
and>=2.5, <2.6
.tensorflow.python.keras
imports anymore, so I replaced that as well.