ayoolaolafenwa / PixelLib

Visit PixelLib's official documentation https://pixellib.readthedocs.io/en/latest/
MIT License
1.04k stars 267 forks source link

labelme2coco does not work with Windows 11 #168

Open wisi-testpilot opened 1 year ago

wisi-testpilot commented 1 year ago

Hello! I trained a model to detect meteor echoes and Starlink satellites with a RADAR. It works fine with Windows 10, see images, but not with Windows 11, see the black image. The problem is labelme2coco. Usually the tool creates two text files at the beginning of the training. Under Window11 it creates a directory and then wants to write to the text file. Then comes Errno13. (It's not a real permission error!) I would really appreciate your help. Best regards Wilhelm

I have tried different versions of labelme2coco. This is my setut, that works with Win10. pip3 install scikit-image==0.18.3 pip3 install numpy==1.19.5 pip3 install tensorflow==2.5.0 pip3 install imgaug pip3 install pixellib --upgrade pip3 install labelme2coco==0.1.2

3

4

labelme2coco-Error

test-final

Two original Spectrum Lab plots:

GRAVES-XYmVV_230405055400 GRAVES-XYmVV_230405055420

snowformatics commented 1 year ago

Hi Wilhelm,

it works if you use an older version of labelme2coco pip install labelme2coco==0.1.2

You have to delete all folders created previously by a newer version of labelme2coco, so you better copy the "Nature" dataset again.

See this issue: https://github.com/ayoolaolafenwa/PixelLib/issues/123#issuecomment-1201339489

Greetings Stefanie

snowformatics commented 1 year ago

Ok sorry, I saw that you are actually using that version. Have you tried a newer version of labelme2coco? Or maybe this helps https://github.com/ayoolaolafenwa/PixelLib/issues/123#issuecomment-1246181959

wisi-testpilot commented 1 year ago

Hello Stefanie, I have dealt extensively with labelme2coco. Only the very first version works with Windows 11. It must be a bug. I hoped the author takes care of it and had written a post in Discussions. https://github.com/fcakyon/labelme2coco I am not on any of his social media channels. Maybe you would like to send him a message. Best regards Wilhelm

snowformatics commented 1 year ago

Hi Wilhelm,

thanks for the feedback, I will try to contact the author via Twitter.

Best regards Stefanie