labelme icon indicating copy to clipboard operation
labelme copied to clipboard

PNG file error

Open sjytker opened this issue 2 years ago • 3 comments

I use code in https://github.com/wkentaro/labelme/blob/main/examples/bbox_detection/labelme2voc.py but could not deal with .png files. I have searched Issues and found solution for instance_segmentation, but not for this bbox.

How to solve this problem?

sjytker avatar Jan 22 '22 09:01 sjytker

What error do you get?

wkentaro avatar Feb 25 '22 21:02 wkentaro

What error do you get?

I've forgot the details, I just remember it is related to the imgviz package, it seems it does not support .png files. At last, I change all .png files to .jpg in a python script and run successfully.

sjytker avatar Feb 26 '22 03:02 sjytker

@sjytker hey thank you for this help, but is it possible to run the script with .png files and the corresponding python package?

Petros626 avatar Mar 09 '22 10:03 Petros626