Fail in loading session to image labeler

Hello everyone, I was working on labeling my dataset using image labler. It was working well for 5 days, but I have tried to load my session in order to complete labeling and it gives me the followong error: "The image files were not found. if you moved them, consider adding their new location to the MATLAB path or placing them in the same as the session file MATLAB". This is weired as I can see the file in the same path. I can open it in workspace, but I cannot load it to my Image Labeler. Can anyone help me on that?
Thanks!

Answers (2)

Hi,
You should keep your saved session as well as the image (which you have used to create labels) in the MATLAB working directory. Probably your image might be in some other folder.

4 Comments

Thank you Mahesh,
But does that mean I cannot use the session in other PC's? or share it with others?
I think it will work if you can share the session along with the images which you have used in that session.
I have the same issue. I am unable to reopen the session. 3 days before it was working fine, I don't know what changed that it is giving me the same error.
Hi
What error you are getting while loading the session file?

Sign in to comment.

Hi,
For those who are looking for an answer, close the Image Labeller and on the main MATLAB screen go to Home -> Environment -> Set Path.
Find the folder holding the images, labels, and session etc... select 'Include all Subfolders'. This should resolve this issue when you open up Image Labeller again and Open Session.
https://uk.mathworks.com/help/matlab/matlab_env/add-remove-or-reorder-folders-on-the-search-path.html#:~:text=On%20the%20Home%20tab%2C%20in,folders%20to%20MATLAB%20search%20path.

1 Comment

tried it and it still stated the image files aren't found when the session file and images are on the same spot

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2018b

Asked:

on 31 Jul 2019

Commented:

on 16 Sep 2022

Community Treasure Hunt

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

Start Hunting!