Unable to export gTruth from Image Labeller session

5 ビュー (過去 30 日間)
Peter Matthews
Peter Matthews 2019 年 11 月 21 日
回答済み: Ali Osman Gökcan 2022 年 12 月 5 日
Hi all,
I've recently encountered a very strange issue. I was labelling a series of images using the Image Labeller app of the Computer Vision Toolbox and saved the session for latter processing. When I opened the session in the app again and wanted to export the ground truth object (gTruth.mat), I got the following error:
Error using vision.internal.labeler.validation.checkLabelData
Invalid entry in label data table for Rectangle labelType. Table entries for column 'synapse_rectangles' must be M-by-4 matrices of [x, y, width, height]. Please refer to groundTruth object.
Warning: Error occurred while evaluating listener callback.
This is doubly strange, since I could export the gTruth.mat in previous (but using different images) labelling sessions. Another point that might be of use is that the labelling was done on Windows, whereas I then tried to export the gTruth of Ubuntu 18 (the session was saved into a folder shared between the two systems via Dropbox). The MATLAB version on both OS is 2019b.
I tried updating MATLAB to the latest Update 1 as well as re-installing the Computer Vision Toolbox, without success. Additionally, when I start a new session with making labels from scratch, I can save those without issues (however, I do not wish to relabel the whole image set again).
Any help on the issue would be greatly appreciated. Let me know if any further details are required.
  4 件のコメント
Thomas Agervig Jensen
Thomas Agervig Jensen 2020 年 1 月 22 日
編集済み: Thomas Agervig Jensen 2020 年 1 月 22 日
Got the same problem.
For some wierd reasion it works when you make a new label in the image and remove it again.
This is tho a bad fix when working on a 5 min long video, since you have to do it in every frame.. So the same prob goes for the videolabeler app
sheng
sheng 2020 年 5 月 6 日
I have encounter tha same issue, when dealing with Matlab 2019b
is there any solution for the problem/?
If some one have the answer, would you send me a link through email 380545156@qq.com?

サインインしてコメントする。

回答 (3 件)

Thomas Agervig Jensen
Thomas Agervig Jensen 2020 年 1 月 22 日
Gues it is not the correct answer but for you guys working on single images you can fix the problem by creating a new label in the image and deleting it again. Relly hope someone will attendt to this issue to get a real fix.

Harsha Priya Daggubati
Harsha Priya Daggubati 2020 年 1 月 23 日
Hi,
Did you try reopening the session and export the groundtruth object in Windows itself?
  4 件のコメント
Harsha Priya Daggubati
Harsha Priya Daggubati 2020 年 1 月 29 日
This issue is fixed in 2019b Update 4. Can you update your Matlab and check.
Thomas Agervig Jensen
Thomas Agervig Jensen 2020 年 2 月 4 日
Sorry for the confusion. I am not the creator of this question. Peter Matthews created this question and i just commented it as i got the same issue on matlab video labeler in ubuntu, i am not working on windows at all.
The update fixed the issue. Thank you very much!!
Hope the creator will attend and accept you answer.

サインインしてコメントする。


Ali Osman Gökcan
Ali Osman Gökcan 2022 年 12 月 5 日
Hello. I labeled the video with Matlab2021b using image labeler, saved the session and exported the labels. However, even though I use the same matlab version on my new computer and open my saved labeler session file, I get the following error. Any help would be greatly appreciated, as I don't have time to re-tag. Thanks...
Error using vision.internal.labeler.validation.checkTimes
Number of timestamps in label data is not consistent with the data source.
Warning: Error occurred while evaluating listener callback.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by