This software accompanies the paper titled "S. Kumar, V. Dhiman, and J. J. Corso. Learning compositional sparse models of bimodal percepts. In Proceedings of AAAI Conference on Artificial Intelligence, 2014."

Tested on Ubuntu 12.04 64 bit

sudo apt-get install python-opencv2 python-sklearn curl
sudo pip install sh munkres

cd external/spams-python
python build
python install --prefix ../spams/
cd ../..
export PYTHONPATH=`pwd`/external/spams/lib/python2.7/site-packages/:${PYTHONPATH}

Reproducible experiments
All our experiments are reproducible with the following instructions:

What do individual pieces of code do?
code/ - Generates hindi or english pronounciations of shapes
and colors.
code/ - Allocated the modalities of vision to audio
code/ - Given a audio MFCC feature .csv file, generates a audio 
feature by selecting top components of the audio file
code/ - Learns a compositional dictionary
code/ - Code written to display results from single and
compositional model
code/ - Get visual features
code/ - Evaluation and other support files
code/ - Generating Quantitative results for the paper

To generate the quantitative results in the paper, use 
cd data && python && cd ..
python code/