psycharo-zz / tf-densecrf

DenseCRF in TensorFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tf-densecrf

DenseCRF in TensorFlow

Efficient mean-field inference and learning in dense CRFs. This repository contains both CPU and GPU implementations of high-dimensional filtering ops using permutohedral lattice.

First, build the op with cd filter_ops ; make . Make sure CUDA_HOME is set as well as appropriate flags in filter_ops/Makefile.

Then, see the notebook op_test.ipynb for an example.

Tested on:

  • Python 3.6
  • TensorFlow 1.4.1
  • Titan X Pascal

About

DenseCRF in TensorFlow


Languages

Language:C++ 44.4%Language:Jupyter Notebook 41.5%Language:Cuda 9.1%Language:Python 2.8%Language:Makefile 2.2%