The code is modified from the publicly available code by Philipp Krähenbühl and Vladlen Koltun. See their project website for more information
If you also use this part of code, please cite their paper: Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials, Philipp Krähenbühl and Vladlen Koltun, NIPS 2011.
Linux:
Run make command (modify Makefile if needed).
Please see run_densecrf.sh for examples of input arguments or see the dense_inference.cpp.
We have also provided a wrapper for Philipp's implementation in Caffe (see the layer densecrf_layer.cpp)