In your CFModel.py, you have used keras.layers.Merge() function to apply a dot product to the two embedding layers output and this is deprecated long time ago.
Now, I'm using keras 2.2.0 and tensorflow 1.9.0 as backend and found out that using keras.layers.dot( [X,Y] ,axes=1) is a replacement.
In your CFModel.py, you have used
keras.layers.Merge()function to apply a dot product to the two embedding layers output and this is deprecated long time ago.Now, I'm using
keras 2.2.0andtensorflow 1.9.0as backend and found out that usingkeras.layers.dot( [X,Y] ,axes=1)is a replacement.