Error when exporting ground truth from Image Labeler for Semantic Segmentation

7 ビュー (過去 30 日間)
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 件のコメント
Godwin Theckineth
Godwin Theckineth 2023 年 9 月 11 日
Is there a temporary work around for this issue without having to redo the labelling?
Jacopo Biasetti
Jacopo Biasetti 2023 年 9 月 11 日
Yes. MATLAB support provided me with a temporary fixed. I suggest to contact them directly.
Best of luck,
Jacopo

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

採用された回答

Yoga
Yoga 2023 年 8 月 2 日
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 件)

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by