mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

Using MMSEGMENTATION with NPY Files

Open MatCorr opened this issue 1 year ago • 3 comments

Has anyone, by any chance, ever implemented code that allows MMSEGMENTATION to train with NPY files rather than images?

I've got really large datasets (which are all larger than a few TBs) that are all in NPY files, and I was hoping I could avoid converting them all to PNG files.

MatCorr avatar Dec 13 '23 13:12 MatCorr

I guass u could rewrite LoadImageFromFile and LoadAnnotations

AI-Tianlong avatar Jan 04 '24 05:01 AI-Tianlong

Yeah, I'll try to do that. Thanks!

MatCorr avatar Jan 04 '24 10:01 MatCorr

I tried doing that (changing LoadImageFromFile with other functions), but I got errors. Could you tell me if you solve and how?

innavoig23 avatar Jan 04 '24 11:01 innavoig23