I had labelled some images using Napari under a particular folder. I then saved the file but renamed the folder another day to distinguish my progress. However, when I tried to open the folder again on Napari, none of the labels showed up. After a long time debugging, it was found that it was because the output h5 file stored the original folder name so that when I renamed the folder, it could no longer find the images. This is unintuitive as the images and h5 files are stored in the same folder and it was assumed that everything should have just been called from the current directory. The error message that popped up was:
ValueError: cannot callvectorizeon size 0 inputs unlessotypesis set
It would be more clear if the error message could be:
Directory not found
I am using napari-deeplab v0.2.0 on windows with python 3.9.
I had labelled some images using Napari under a particular folder. I then saved the file but renamed the folder another day to distinguish my progress. However, when I tried to open the folder again on Napari, none of the labels showed up. After a long time debugging, it was found that it was because the output h5 file stored the original folder name so that when I renamed the folder, it could no longer find the images. This is unintuitive as the images and h5 files are stored in the same folder and it was assumed that everything should have just been called from the current directory. The error message that popped up was:
ValueError: cannot call
vectorizeon size 0 inputs unless
otypesis set
It would be more clear if the error message could be:
Directory not found
I am using napari-deeplab v0.2.0 on windows with python 3.9.