lucasb-eyer / pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.
MIT License
1.93k stars 411 forks source link

Custom label compatibility function #102

Open RohanChacko opened 4 years ago

RohanChacko commented 4 years ago

I would like to create a custom compat (LabelCompatibility) function i.e. a Truncated Linear function. How would I go about this? What files would I have to modify?