SkalskiP / make-sense

Free to use online tool for labelling photos. https://makesense.ai
GNU General Public License v3.0
3.18k stars 525 forks source link

COCO JSON EXPORT CORRUPTED ANNOTATIONS #144

Open valterfsj opened 3 years ago

valterfsj commented 3 years ago

Describe the bug When trying to load annotations, is reported "Cannot load id of undefined". Even though it had been just exported from make sense. Other softwares aren't able to recognise it as a proper COCO JSON file.

It happened twice in the same dataset with different amounts of labels.

The first time, though, I was able to figure out that some "Category_ID" were missing. The second time, I was unable to figure out what happened

To Reproduce Steps to reproduce the behavior:

  1. Go to 'makesense.ai'
  2. Load img dataset
  3. Import Annotations
  4. See error

Expected behavior The COCO JSON file should be readable at least by MakeSense. As just exported from it, It should be able to read it again.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context The last corrupted JSON is attached

labels_my-project-name_2021-01-26-11-44-482.zip

valterfsj commented 3 years ago

I just removed some "spaces" and "tabs" from the file and it loaded. As I can see, it's supposed to have 250+ annotations, but it loaded just 190ish.

smolendawid commented 3 years ago

Indeed this is especially irritating as it can't import the annotations it exported itself

SkalskiP commented 3 years ago

Hello 👋 @valterfsj and @smolendawid! I'm really sorry that this issue is still present in make-sense. I am also very sorry for the late reply. Work factors have meant that I have had no time to develop make-sense.

However, I am starting work on the make-sense beta, and I want this issue to be part of it. I hope that we will be able to resolve this problem in the coming weeks.