This is an implementation of global context module in GCNet.(GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond)https://arxiv.org/abs/1904.11492 I just modified it from the official code.I hope this can help some tensorflow users. Please let me know if there is something wrong with my code. Official code repositoryhttps://github.com/xvjiarui/GCNet
* anaconda3、pycharm-community、python3.6、numpy1.14
* tensorflow1.12
* tensorflow-slim
* cuda9.0、cudnn7.3