You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
Dear,
In the
CRF
class methodadd_boundary_energy
, shouldn'tkeras-contrib/keras_contrib/layers/crf.py
Line 403 in 3fc5ef7
end_mask = K.cast(K.greater(mask, self.shift_left(mask)), K.floatx())
?If
mask
is [[0., 1., 1., 1., 1., 0.]],end_mask
would be [[1., 0., 0., 0., 0., 0.]] in stead of the intended [[0., 0., 0., 0., 1., 0.]]The text was updated successfully, but these errors were encountered: