Error when exporting ground truth from Image Labeler for Semantic Segmentation
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jacopo Biasetti
am 12 Jun. 2023
Kommentiert: Jacopo Biasetti
am 11 Sep. 2023
Hi,
I have created a project with the Image Labeler app in which I labeled pixels in several MRI images (files attached - three labels per image, each pixel in each image should have been labeled correctly, image size varies) When I proceed to export the ground truth variable/file I receive the following error:
Warning: Error occurred while executing the listener callback for event
ExportWithSaveAndSyncEvent defined for class
vision.internal.labeler.multiUser.view.View:
Error using fileparts
Input must be a row vector of characters, or a string scalar, or a cellstr,
or a string matrix.
Error in
vision.internal.labeler.multiUser.model.project.ProjTaskUtil.createPixelLabelFilePath
Error in
vision.internal.labeler.multiUser.model.project.ProjTaskUtil/generatePixLabelFilenamesWpath
Error in
vision.internal.labeler.multiUser.model.project.Project/copyWithRename
Error in
vision.internal.labeler.multiUser.model.project.Project/exportSDonly_allImages_SUP
Error in vision.internal.labeler.multiUser.model.project.Project/exportSUP
Error in
vision.internal.labeler.multiUser.model.project.Project/exportWithSaveAndSync
Error in
vision.internal.labeler.multiUser.model.ProjectFileModel/exportWithSaveAndSync
Error in
vision.internal.labeler.multiUser.controller.ProjectFileController/exportWithSaveAndSyncEventCallback
Error in
vision.internal.labeler.multiUser.controller.ProjectFileController>@(varargin)this.exportWithSaveAndSyncEventCallback(varargin{:})
Error in vision.internal.labeler.multiUser.view.View/exportData
Error in
vision.internal.imageLabeler.multiUser.controller.ImageLabelerToolMultiUser>@(evtSrc,evtData)exportData(this.View,evtData)
Error in
vision.internal.labeler.multiUser.model.ProjectSessionModel/exportSingleUserSessionData
Error in
vision.internal.labeler.multiUser.model.ProjectSessionModel/packSingleUserExportData
Error in
vision.internal.imageLabeler.multiUser.controller.ImageLabelerToolMultiUser>@(evtSrc,evtData)packSingleUserExportData(this.Session,evtData)
Error in vision.internal.labeler.multiUser.view.View/exportButtonClicked
Error in vision.internal.labeler.multiUser.view.View
Error in
vision.internal.imageLabeler.multiUser.view.ImageLabelerToolstrip/exportLabelsFromAllImages
Error in vision.internal.imageLabeler.multiUser.view.ImageLabelerToolstrip
Error in matlab.ui.internal.toolstrip.ListItem/ActionPerformedCallback (line
143)
this.notify('ItemPushed');
Error in
matlab.ui.internal.toolstrip.base.Control>@(event,data)ActionPerformedCallback(this,event,data)
(line 336)
this.ActionPerformedListener = addlistener(this.Action,
'ActionPerformed', @(event, data) ActionPerformedCallback(this,
event, data));
Error in matlab.ui.internal.toolstrip.base.Action/PeerEventCallback (line
859)
this.notify('ActionPerformed', eventdata);
Error in
matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data)
(line 41)
this.PeerEventListener = addlistener(this.Peer, 'peerEvent',
@(event, data) PeerEventCallback(this, event, data));
Error in
viewmodel.internal.factory.ManagerFactoryProducer>@(src,event)callback(src,viewmodel.internal.factory.ManagerFactoryProducer.convertStructToEventData(event))
(line 79)
proxyCallback = @(src, event)callback(src, ...
> In vision.internal.labeler.multiUser.view/View/exportData
In vision.internal.imageLabeler.multiUser.controller.ImageLabelerToolMultiUser>@(evtSrc,evtData)exportData(this.View,evtData)
In vision.internal.labeler.multiUser.model/ProjectSessionModel/exportSingleUserSessionData
In vision.internal.labeler.multiUser.model/ProjectSessionModel/packSingleUserExportData
In vision.internal.imageLabeler.multiUser.controller.ImageLabelerToolMultiUser>@(evtSrc,evtData)packSingleUserExportData(this.Session,evtData)
In vision.internal.labeler.multiUser.view/View/exportButtonClicked
In vision.internal.labeler.multiUser.view.View
In vision.internal.imageLabeler.multiUser.view/ImageLabelerToolstrip/exportLabelsFromAllImages
In vision.internal.imageLabeler.multiUser.view.ImageLabelerToolstrip
In matlab.ui.internal.toolstrip/ListItem/ActionPerformedCallback (line 143)
In matlab.ui.internal.toolstrip.base.Control>@(event,data)ActionPerformedCallback(this,event,data) (line 336)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 859)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 41)
In viewmodel.internal.factory.ManagerFactoryProducer>@(src,event)callback(src,viewmodel.internal.factory.ManagerFactoryProducer.convertStructToEventData(event)) (line 79)
I'm attaching all related files; you should be able to open them with the Image Labeler without problem.
NOTE: while labeling the images in the Image Labeler I removed a few images that were found not to be relevant for the problem at hand. So the original set of images is actually larger than the labeled one.
Any idea of what the issue might be?
Many thanks,
Jacopo
6 Kommentare
Godwin Theckineth
am 11 Sep. 2023
Is there a temporary work around for this issue without having to redo the labelling?
Akzeptierte Antwort
Yoga
am 2 Aug. 2023
This is a known bug happening in Image Labeler App in MATLAB R2023a. After labelling the data and trying to export them, the error will show up.
This issue will be fixed in one of MATLAB's future releases.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!