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
I was running doccano locally with the version tag v1.4.0,reference pip installation.
I have created sequence labeling project and configured auto labeling settings, i got the error when i was trying auto labeling function on the annotation page:
With debug information,i have read source code and found it to be much newer than in previous months,e.g.,document class was replaced by example class, the error code here:
I'm not familiar with fork and pull request,so i create this, and the master branch code is still wrong when i submit this issues report.
Please repair and create a new tag as soon as possible.
Your Environment
Operating System: Ubuntu18.04
Python Version Used: Python3.8.5
When you install doccano: V1.4.0
How did you install doccano (Heroku button etc): pip install doccano
The text was updated successfully, but these errors were encountered:
I found another area (still in auto_labeling.py AutoLabelingAnnotation Class)that needed to be modified when i changed the above code error and ran it again.
the right code such as:
def transform(self, labels):
project = get_object_or_404(Project, pk=self.kwargs['project_id'])
for label in labels:
label['example'] = self.kwargs['doc_id']
if 'label' in label:
label['label'] = project.labels.get(text=label.pop('label')).id
return labels
I was running doccano locally with the version tag v1.4.0,reference pip installation.
I have created sequence labeling project and configured auto labeling settings, i got the error when i was trying auto labeling function on the annotation page:
With debug information,i have read source code and found it to be much newer than in previous months,e.g.,document class was replaced by example class, the error code here:
I'm not familiar with fork and pull request,so i create this, and the master branch code is still wrong when i submit this issues report.
Please repair and create a new tag as soon as possible.
Your Environment
The text was updated successfully, but these errors were encountered: