You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to import json annotations for photos, I get the following error:
Error Importing Annotations
An error occurred while importing annotations: 'NoneType' object has no attribute 'getRgb'
These were annotations made in this version and also in a previous version of the CoralNet Toolbox, both with the same issue. I am still running a previous version in a separate environment, and they load fine there.
The text was updated successfully, but these errors were encountered:
Hi @guamashton sorry to hear you're having issues, I thought that as I updated the annotation json format I wouldn't break anything, but I guess not.
I see where the problem is occurring and it's likely an easy fix; out of curiosity, do you know which version of the toolbox you're using? You can find it in coralnet_toolbox.init.py under __version__. If that isn't there (then it's really old) if you'll just share a screenshot of the files within the coralnet_toolbox folder with the dates last modified showing (then I'll know when you downloaded it and can go back to that version and check some things).
Finally, for the fix itself, it might be easier if you share your annotations.json file and I'll have a look and make sure there aren't any other issues with importing older versions of annotations.json files. If that's okay, you drop it here or send it via email or private DM.
Environment Information
Description
When I try to import json annotations for photos, I get the following error:
Error Importing Annotations
An error occurred while importing annotations: 'NoneType' object has no attribute 'getRgb'
These were annotations made in this version and also in a previous version of the CoralNet Toolbox, both with the same issue. I am still running a previous version in a separate environment, and they load fine there.
The text was updated successfully, but these errors were encountered: