scite icon indicating copy to clipboard operation
scite copied to clipboard

some Problem in Chain CRF.py

Open cgp1997 opened this issue 3 years ago • 2 comments

def _fetch_mask(self): mask = None

    if self._inbound_nodes:
        mask = self._inbound_nodes[0].input_masks[0]

    return mask

I haven't found the corresponding function for the input_masks here. Is there anything that can be replaced?

cgp1997 avatar Apr 25 '22 09:04 cgp1997

Hey, sorry for the late message, but I am trying this now and getting a very similar error. [https://pastebin.com/yffUk1wV] Was yours the same? Were you able to resolve it, and if so could you tell me how?

KrishnaM313 avatar Mar 02 '23 12:03 KrishnaM313

Hey, sorry for the late message, but I am trying this now and getting a very similar error. [https://pastebin.com/yffUk1wV] Was yours the same? Were you able to resolve it, and if so could you tell me how? As far as I can deduce because the source code does not match the tensorflow version, I found a new ChainCRF implementation elsewhere. https://github.com/qcri/dialectal_arabic_segmenter/blob/master/code/ChainCRF.py

cgp1997 avatar Mar 03 '23 08:03 cgp1997