Unable to export gTruth from Image Labeller session
    6 次查看(过去 30 天)
  
       显示 更早的评论
    
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
 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
 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
 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. 
0 个评论
  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
    
 2020-1-29
				This issue is fixed in 2019b Update 4. Can you update your Matlab and check.
  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
 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. 
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!