필터 지우기
필터 지우기

Unable to export gTruth from Image Labeller session

조회 수: 10 (최근 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.

카테고리

Help CenterFile Exchange에서 Image and Video Ground Truth Labeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by