cpp
folder contains code for learning grammar. For parsing/inference, most grammar related code are in python/grammarutils.py
.If you find this code useful, please cite our work with the following bibtex:
@inproceedings{qi2017predicting,
title={Predicting Human Activities Using Stochastic Grammar},
author={Qi, Siyuan and Huang, Siyuan and Wei, Ping and Zhu, Song-Chun},
booktitle={International Conference on Computer Vision (ICCV)},
year={2017}
}