kobiso / CBAM-keras

CBAM implementation on Keras
MIT License
359 stars 134 forks source link

multiply() is a function not keras layer #6

Open Ambssharma opened 3 years ago

Ambssharma commented 3 years ago

In the "attention_module.py" file, the multiply operation is using a function, instead of a Keras layer. To me it gives an error "attributeerror: 'nonetype' object has no attribute 'inbound_nodes'".

Don't we need to make it a Keras layer?