Invalid entry in label data table for Scene labelType when using Image Labeler app?
Show older comments
I am using the Image Labeler App (Matlab R2017b) to label objects and classify scenes on a subset of image frames that I exported from a video. I completed labeling the set, but when I try to export it, I get the following error:
Error using vision.internal.labeler.validation.checkLabelData (line 100) Invalid entry in label data table for Scene labelType. Table entries for column 'Away' must be logical scalars.
In some frames, I applied multiple scene labels to the same image thinking that this may be useful information during transitions between scene types in the video. I think this may be the source of the problem, but couldn't find any documentation as to whether that is the case. Is there any way for me to export the scoring without having to go through it and change scenes with multiple labels to single label (if that is even the problem)? I have not modified code in any way, just trying to use the built-in App to export the data that I scored manually.
8 Comments
Syafiq Rokman
on 15 Dec 2017
I'm facing the same problem, though I did not label an image with multiple scenes.
Did you manage to solve the issue?
Max Murphy
on 15 Dec 2017
Birju Patel
on 15 Dec 2017
Hi Max,
Adding multiple scene labels to an image is supported.
I haven't been able to reproduce this issue. I probably haven't set up the labels exactly like you have them.
Could you attach a screen shot of the labeling app to capture the state of the app right before you get the error. I'll try to setup the app the same way you have it and try to reproduce again.
Also, could you save the label definitions (Save->Label Definitions) and attach that MAT-file here?
Thanks.
Max Murphy
on 15 Dec 2017
Birju Patel
on 18 Dec 2017
Thanks Max.
Could you try out the attached patch? Here are the patch instructions:
1) cd to your MATLABROOT directory. You can use the 'matlabroot' command to find out what your MATLABROOT directory is.
2) Copy the attached zip file (patch_17b.zip) into the MATLABROOT directory.
3) Unzip the patch_17b.zip
4) Exit matlab and restart MATLAB, then execute 'rehash toolboxcache'
After that, you should let you export your ground truth data. Let me know if that fixes things for you.
Thanks, Birju
Max Murphy
on 1 Jan 2018
Birju Patel
on 17 Jan 2018
Hi Max,
Can you send me the previous session MAT-file?
Kevin Brown
on 26 Jan 2018
I just ran into this error while using the image labeler app even though no images had more than one label. As far as I can tell the issue emerged after adding additional images to a loaded session since I had successfully exported that session before adding additional images. Installing the patch fixed the error.
Thanks, Kevin
Accepted Answer
More Answers (0)
Categories
Find more on Ground Truth Labeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!