0ssamaak0 / DLTA-AI

Data Labeling, Tracking and Annotation with AI
GNU General Public License v3.0
322 stars 39 forks source link

Export in COCO format - error #45

Closed YamenMHR closed 1 year ago

YamenMHR commented 1 year ago

After annotating some data, I tried to export the annotation in COCO format, but I am getting the error: 'NoneType' object has no attribute 'filename

0ssamaak0 commented 1 year ago

please provide me with the following:

YamenMHR commented 1 year ago
0ssamaak0 commented 1 year ago

I checked it now, This error happens when you try to export your annotations without having the annotation files ".json"

I think the senario was as following, and please correct me if I'm wrong: "When you open an image, the export button is disabled by default ,when you press save it's enabled and you can export your annotations, the problem is that you pressed on save button, then closed the dialog without saving the annotation file, then you tried to export and got that error"

For now: make sure you have the annotations saved in ".json" file, and we will fix this by preventing such a senario, thank you for your feedback.

YamenMHR commented 1 year ago

That is exactly what happened. Thanks for the fast response.

0ssamaak0 commented 1 year ago

Fixed in 2a47b67, it will be released in the next version. Thanks again for your feedback