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

https://github.com/seujung/relational-network-gluon

Gluon implement of "A simple neural network module of relational reasoning"
https://github.com/seujung/relational-network-gluon

deep-learning gluon mxnet relational-networks vqa

Last synced: 3 days ago
JSON representation

Gluon implement of "A simple neural network module of relational reasoning"

Awesome Lists containing this project

README

        

# relational network with Gluon

---

Gluon inplementation of [A simple neural module for relational reasoning](https://arxiv.org/abs/1706.01427)

![net_structure](assets/network_structure.png)

## Requirements
- Python 3.6.1
- Mxnet(1.2)
- tqdm
- opencv-python

## Usage

- arguments
- batch_size : Define batch size (defualt=64)
- epoches : Define total epoches (default=50)
- GPU_COUNT : Use GPU count (default=2)
- show_status : show loss and accuracy for each epoch (default=True)

###### data generation
```
python sort-of-clevr.py
```

###### default setting
```
python main.py
```
or

###### manual setting
```
python main.py --batch_size=32 --epoches=100
```

## Results
![perf_acc](assets/perf_result_acc.png)

![perf_loss](assets/perf_result_l.png)

## Reference
- https://github.com/kimhc6028/relational-networks