An open API service indexing awesome lists of open source software.

https://github.com/andrewrgarcia/non-local-blocks

A new implementation of Non-local Blocks from Non-local Neural Networks (Wang et al. 2018). https://arxiv.org/abs/1711.07971
https://github.com/andrewrgarcia/non-local-blocks

convolutional-neural-networks keras neural-network non-local

Last synced: about 2 months ago
JSON representation

A new implementation of Non-local Blocks from Non-local Neural Networks (Wang et al. 2018). https://arxiv.org/abs/1711.07971

Awesome Lists containing this project

README

        

# Non-Local Blocks from Non-Local Neural Networks

Implementations of [Non-local Neural Networks (Wang et al. 2018)](https://arxiv.org/abs/1711.07971).

![image](images/nlb.png)

## Versions

```python
from nonlocals.keras import NonLocalBlock
```
[Keras Layer](https://github.com/andrewrgarcia/non-local-blocks/blob/main/nonlocals/keras/non_local.py)

```python
from nonlocals.torch import NonLocalBlock
```
[PyTorch Module](https://github.com/andrewrgarcia/non-local-blocks/blob/main/nonlocals/torch/non_local.py)