Image labeller cannot save sessions
3 次查看(过去 30 天)
显示 更早的评论
Hello,
Image labeller is not saving sessions correctly. I discovered the problem after I had spent several hours annotating images and saved the session. When I tried reloading the session the next day it would not load.
Image labeller used to work because I used it to label 8000 images over several weeks and I was able to save the session.
I tried opening an old image labelling session and it worked.
When I save the previously working session with a new name and try and reopen the new session it gets this error:
Warning: While loading an object of class 'vision.internal.imageLabeler.tool.Session':
Too many input arguments.
> In vision.internal.imageLabeler.tool/ImageLabelerSessionManager/loadSession
In vision.internal.imageLabeler.tool/ImageLabelerTool/doLoadSession
In vision.internal.labeler.tool/LabelerTool/loadSession
In vision.internal.imageLabeler.tool.LabelTab
In vision.internal.uitools/NewAbstractTab2/protectOnDelete (line 112)
In vision.internal.imageLabeler.tool.LabelTab
In internal/Callback/execute (line 128)
In matlab.ui.internal.toolstrip.base/Action/PeerEventCallback (line 846)
In matlab.ui.internal.toolstrip.base.ActionInterface>@(event,data)PeerEventCallback(this,event,data) (line 57)
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Error using vision.internal.imageLabeler.tool.Session/importPixelLabelData
Undefined function 'resetIsPixelLabelChangedAll' for input arguments of type 'double'.
Warning: Error occurred while evaluating listener callback.
Nothing has changed with my installation. Why would this happen, and how can I fix it?
I have tried to uninstall and reinstall MATLAB with no effect.
Thanks.
0 个评论
回答(1 个)
Akshat Dalal
2024-6-28
Hi Karl,
The error messages point to an issue while importing the Image data. This could potentially happen because the image data for the newly saved session is not in the same directory as the session. As far as I know, I don't think you can keep the two things separate as the image labeler session needs the raw image data.
Also, if the 'resetIsPixelLabelChangedAll' is your custom function, please ensure that there are not any other functions with the same name that might be shadowing this function. The import function might be using the nearest function with that name, which might be different from the intended, leading to incorrect results.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!