lucasb-eyer / pydensecrf

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

How to use compatibility parameters? #88

Open ryo12882 opened 5 years ago

ryo12882 commented 5 years ago

Hi everyone,

I'm using this repo for my project. Thank you for your effort!. And now, I'm struggling with understanding 'compat' argument. I also have read the paper, so I think I'm sure why compat argument exists. But I don't know how to set value to it.

For example from the paper, If 'sky' label is 0, 'cat' label is 1, 'bird' label is 2 and other is 3, how do I set this restriction to 'compat' argument?

Thank you in advance.