Image labeller cannot save sessions

조회 수: 5 (최근 30일)
Karl Mueller
Karl Mueller 2024년 6월 11일
댓글: Karl Mueller 2024년 7월 8일
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.

답변 (1개)

Akshat Dalal
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.
  댓글 수: 1
Karl Mueller
Karl Mueller 2024년 7월 8일
Hi, and thanks for replying. The resetIsPixelLabelChangedAll is not a custom function, I assumed it was an internal function, in any case, no changes or new functions have been made, I am simply using the app.
As I mentioned, I can load an old session into the image labeller and access all the images with annotations, but if I save the session I cannot reopen it. The location of the images hasn't changed.
The only thing that has changed is I am now working from a different location than I was previously, but the PC is the same one I was using before.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by