labelme icon indicating copy to clipboard operation
labelme copied to clipboard

Maybe a bug in using "ai_mask"

Open jiaerfei opened this issue 5 months ago • 0 comments

Provide environment information

anaconda

What OS are you using?

windows 11

Describe the Bug

Hi, Thank you for your excellent work!

when I install labelme, the default onnxruntime seems to be the cpu, and I reinstall onnxruntime-gpu to accelerate “ai_mask”, but error appears as image shows, I debug the process and find that the error is caused by this line in osam, the exception "e" is " AttributeError '_LoggerIO' object has no attribute 'fileno'".

Maybe this is a little bug.

with _contextlib.suppress(): osam.types._model.py L39

Image

Expected Behavior

No response

To Reproduce

No response

jiaerfei avatar May 12 '25 05:05 jiaerfei