Error when exporting ground truth from Image Labeler for Semantic Segmentation

8 vues (au cours des 30 derniers jours)
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 commentaires
Godwin Theckineth
Godwin Theckineth le 11 Sep 2023
Is there a temporary work around for this issue without having to redo the labelling?
Jacopo Biasetti
Jacopo Biasetti le 11 Sep 2023
Yes. MATLAB support provided me with a temporary fixed. I suggest to contact them directly.
Best of luck,
Jacopo

Connectez-vous pour commenter.

Réponse acceptée

Yoga
Yoga le 2 Août 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.

Plus de réponses (0)

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by