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
in gold.pyx#L539 it appears as if the static from_annot_tuples function unpacks a tuple of length 7, but in the constructor gold.pyx#L635, self.orig_annot is populated with a length 6 tuple (discarding the cat annotation). This is creating a bug in the scorer.pyscore function where the gold object is reconstructed with from_annot_tuples function. I discovered this bug when trying to override the cli train function.
Your Environment
Operating System: Ubuntu 16.04.6 LTS
Python Version Used: 3.6.8
spaCy Version Used: 2.2.1
Environment Information: N/A
The text was updated successfully, but these errors were encountered:
How to reproduce the behaviour
in gold.pyx#L539 it appears as if the static
from_annot_tuples
function unpacks a tuple of length 7, but in the constructor gold.pyx#L635,self.orig_annot
is populated with a length 6 tuple (discarding the cat annotation). This is creating a bug in thescorer.py
score function where the gold object is reconstructed withfrom_annot_tuples
function. I discovered this bug when trying to override the cli train function.Your Environment
The text was updated successfully, but these errors were encountered: