Various issues with Import of data/labels and display of NER labelling using docker - Ubuntu 18.04 on Virtualbox
See original GitHub issueThis is my installation using ubuntu 18.04
The procedure used for the installation of doccano was:
sudo apt-get update sudo apt-get remove docker docker-engine docker.io sudo apt install docker.io sudo systemctl start docker sudo systemctl enable docker docker --version Docker version 19.03.6, build 369ce74a3c
sudo docker pull doccano/doccano
docker container create --name doccano
-e “ADMIN_USERNAME=admin”
-e “ADMIN_EMAIL=admin@example.com”
-e “ADMIN_PASSWORD=password”
-p 8000:8000 doccano/doccano
docker container start doccano
I access using the default 8000 port and login/password.
When working with doccano I noted that the import of exported data / labels were not restored correctly as below:
This is the JSON / JSONL file exported
After importing of the labels JSON
Seems that the data were not imported (and displayed) correctly also.
New data during labeling
Data exported after labeling (the label was approved)
{"id": 7, "text": "prova di un testo microsoft italia milano programmatore", "annotations": [{"label": 5, "user": 1, "created_at": "2021-04-04T15:35:56.858865Z", "updated_at": "2021-04-04T15:35:56.858894Z"}], "meta": {}, "annotation_approver": "admin", "comment_count": 0}
Data imported after labeling
A similar thing is happening with the JSON / JSONL import of data used in NER labeling.
Am I using a wrong version of doccano? The version that I can use in the docker seems different from the one in the demo of doccano, are they different?
Environment Fresh Ubuntu 18.04 installation in a Virtualbox Firefox 87.0 64 Bit Google Chrome 89.0.4389.90 (Official Build) (x86_64)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5
Top GitHub Comments
For importing labeling you are not using key values correctly in json file.
So the problem is you are using backgroundColor, you need to use background_color textColor, you need to use text_color.
Please refer below json and make it like yours it will work [ {
}, {
} ]
Thanks, this worked. Just like dataset even exported labels cannot be imported as is.