li-js / CRF-RNN_Tensorflow

Tensorflow implementation of CRF-RNN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRF-RNN_Tensorflow

Tensorflow implementation of CRF-RNN

Build instructions:

  1. Download and install swig

  2. Enter folder ./src/

  3. Run command 'swig -c++ -python permutohedral.i'

  4. Edit setup.py, replace '$PYTHON_PATH' with the root path of your python

  5. Run 'python setup.py build_ext --inplace'

  6. Copy the generated 'permutohedral.py' and '.pyd'/'.so' into the same folder with 'CRFRNN.py'

See main_example.py for guide.

About

Tensorflow implementation of CRF-RNN


Languages

Language:C 77.0%Language:Python 15.1%Language:C++ 7.8%