There are quite a few issues when using your code with Keras 2. For example, the customised Keras layers does not work and gives the following issue:
File "C:\Users\User\Desktop\Python\SNN_cont_only\own_package\NGF\layers.py", line 397, in init
super(NeuralGraphOutput, self).init(**kwargs)
File "C:\Program Files (x86)\Python36-64\lib\site-packages\keras\engine\base_layer.py", line 128, in init
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'activation')
There are quite a few issues when using your code with Keras 2. For example, the customised Keras layers does not work and gives the following issue:
File "C:\Users\User\Desktop\Python\SNN_cont_only\own_package\NGF\layers.py", line 397, in init
super(NeuralGraphOutput, self).init(**kwargs)
File "C:\Program Files (x86)\Python36-64\lib\site-packages\keras\engine\base_layer.py", line 128, in init
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'activation')