PixelLib icon indicating copy to clipboard operation
PixelLib copied to clipboard

labelme2coco does not work with Windows 11

Open wisi-testpilot opened this issue 1 year ago • 4 comments

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

wisi-testpilot avatar Apr 05 '23 16:04 wisi-testpilot

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 avatar Apr 22 '23 12:04 snowformatics

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

snowformatics avatar Apr 22 '23 12:04 snowformatics

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

wisi-testpilot avatar Apr 22 '23 18:04 wisi-testpilot

Hi Wilhelm,

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

Best regards Stefanie

snowformatics avatar Apr 24 '23 16:04 snowformatics