Skip to content

Memory, Attention and Composition (MAC) Network for CLEVR implemented via KnetLayers

License

Notifications You must be signed in to change notification settings

KnetML/MAC-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7918733 · Jan 27, 2020

History

70 Commits
Oct 12, 2018
Jul 31, 2018
Jul 31, 2018
Oct 16, 2018
Jan 27, 2020
Jan 27, 2020
Jul 31, 2018
Jan 27, 2020
Feb 7, 2019
Feb 6, 2019
Sep 22, 2018
Feb 6, 2019
Sep 22, 2018
Sep 22, 2018
Sep 22, 2018
Feb 6, 2019
Sep 22, 2018
Jan 27, 2020

Repository files navigation

Compositional Attention Networks for Machine Reasoning

Knet implementation of the paper "Compositional attention networks for machine reasoning." Hudson, Drew A., and Christopher D. Manning.

Running Demo

Open visualize.ipynb notebook with jupyter to see the demo.

Getting Data

You have two options for the data setup.

a) Raw Data

1-Download CLEVR dataset to data/ folder.

2-Process the CLEVR data:

julia trainsetup.jl data/CLEVR_v1.0

b) Processed Data

1-Download preprocessed data:

julia trainsetup.jl

Training

Below configuration can achieve %98.27 accuracy on CLEVR dataset

julia train.jl src/main.jl configs/config2.jl