Skip to content

Commit 903c331

Browse files
committed
Add more info about label-compatibilities.
1 parent 9096c7b commit 903c331

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ The `compat` argument can be any of the following:
113113
- A 1D array, then a `DiagonalCompatibility` is being used.
114114
- A 2D array, then a `MatrixCompatibility` is being used.
115115

116-
These are label-compatibilites `µ(xi, xj)` whose parameters could possibly be [learned](https://github.com/lucasb-eyer/pydensecrf#learning). For example, they could indicate that mistaking `bird` pixels for `sky` is not as bad as mistaking `cat` for `sky`. (Wrong, old interpretation: <s>[ways to weight contributions](https://github.com/lucasb-eyer/pydensecrf/issues/8#issuecomment-188478006)</s>).
116+
These are label-compatibilites `µ(xi, xj)` whose parameters could possibly be [learned](https://github.com/lucasb-eyer/pydensecrf#learning).
117+
For example, they could indicate that mistaking `bird` pixels for `sky` is not as bad as mistaking `cat` for `sky`.
118+
The arrays should have `nlabels` or `(nlabels,nlabels)` as shape and a `float32` datatype.
117119

118120
### Kernels
119121

0 commit comments

Comments
 (0)