This repo contains code for reproducing the results in the paper Graphical Models with Attention for Context-Specific Independence and an Application to Perceptual Grouping.
- The code was tested under python 3.7
- Set up the virtual environment
pip install -r requirements.txt
python setup.py develop
- Point
BASE
inmam/__init__.py
to the data directory (full sets of data coming)
The code was tested on Ubuntu 18.04 with CUDA 11.3.
Use the scripts in the scripts
folder to reproduce results in the paper.