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
- Host: GitHub
- URL: https://github.com/andrewrgarcia/non-local-blocks
- Owner: andrewrgarcia
- License: mit
- Created: 2024-07-01T23:32:12.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-03T01:04:50.000Z (11 months ago)
- Last Synced: 2025-03-27T15:56:14.968Z (about 2 months ago)
- Topics: convolutional-neural-networks, keras, neural-network, non-local
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).

## 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)